Python List and Tuples

Flashcard
•
Computers
•
Professional Development
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
If list=[17,23,41,10] then list.append(32) will result
Back
[17,23,41,10,32]
2.
FLASHCARD QUESTION
Front
Which python function can be used to add more than one element within an existing list? Options: append( ), append_more( ), extend( ), more( )
Back
extend( )
3.
FLASHCARD QUESTION
Front
What output will this code produce? Options: red, ['blue', 'green', 'red'], ['red', 'green', 'blue'], error
Back
['red', 'green', 'blue']
4.
FLASHCARD QUESTION
Front
What is the output of the following list operation
aList = [10, 20, 30, 40, 50, 60, 70, 80]
print(aList[2:5])
print(aList[:4])
print(aList[3:])
Back
[30, 40, 50]
[10, 20, 30, 40]
[40, 50, 60, 70, 80]
5.
FLASHCARD QUESTION
Front
In Python, list is mutable
Back
True
6.
FLASHCARD QUESTION
Front
___________method adds a single item to the end of the list.
Back
append( )
7.
FLASHCARD QUESTION
Front
What is the value of list1 when the statement, list1+=list2 is executed?
Back
[10, 20, 30, 40, 15, 25, 35, 45]
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
LISTS in Python

Flashcard
•
University
15 questions
ACT Comma Usage Flashcard 1

Flashcard
•
KG - University
10 questions
Cuestionario de Bash

Flashcard
•
University - Professi...
15 questions
NSCC-CODE TO COIN

Flashcard
•
University
12 questions
Data Structures Review

Flashcard
•
University
9 questions
Relational Algebra in DBMS

Flashcard
•
University
10 questions
Core Unit 8 Schedules

Flashcard
•
Professional Development
10 questions
Prolog

Flashcard
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade