
Lists in Python
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of these is the best description of a list in Python?
Back
A list is a collection of data that has an order.
2.
FLASHCARD QUESTION
Front
Which of these pieces of code would return the name "Harry" from the following list? nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"] Options: nameList(), nameList[1], NameList(4), nameList["4"]
Back
nameList[1]
3.
FLASHCARD QUESTION
Front
How do I remove something from a list?
Back
variable.remove()
4.
FLASHCARD QUESTION
Front
An empty list can be declared as
Back
fruitList = []
5.
FLASHCARD QUESTION
Front
Each item in a list has an "address". The first address in a Python list is what?
Back
0
6.
FLASHCARD QUESTION
Front
Which of the following is the correct way to add the number 4 to mylist? Options: mylist + 4, mylist.append(4), mylist.append([4]), 4.append(mylist)
Back
mylist.append(4)
7.
FLASHCARD QUESTION
Front
What is used to separate elements in a list?
Back
Comma
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
9 questions
PROBLEMAS MRU y MRUA
Flashcard
•
8th Grade
10 questions
peristiwa rengas dengklok
Flashcard
•
8th Grade
10 questions
SISTEM PERSAMAAN LINEAR TIGA VARIABEL
Flashcard
•
10th Grade
12 questions
Чоловік чи жінка
Flashcard
•
10th Grade
10 questions
Temiz Çevre: Geleceğimiz İçin Bir Sorumluluk
Flashcard
•
KG
10 questions
Angka Arab 1 sampai 10
Flashcard
•
KG
7 questions
Natural Selection and Population Genetics Quiz Review
Flashcard
•
9th Grade
10 questions
Equations of Circles
Flashcard
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade