
Lists in Python

Flashcard
•
Computers
•
9th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
BAHASA MELAYU SUKU KATA TERBUKA HURUF (a,i,u,m,b,n,s,l,h,d)

Flashcard
•
KG
10 questions
Acids and Bases

Flashcard
•
10th Grade
10 questions
Roman numeral nuisance

Flashcard
•
8th Grade
10 questions
Vocabulary Flashcards

Flashcard
•
9th Grade
10 questions
Web Development Fundamentals Flashcard

Flashcard
•
9th Grade
10 questions
Review Part 2 for Final

Flashcard
•
9th Grade
11 questions
Isotopes

Flashcard
•
9th Grade
8 questions
Nomenclatura inorganica Fermi 24/25

Flashcard
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade