Which of these is the best description of a list in Python? A list is a collection of data that has an order and can be changed, A list is a lot of variables, A list is used for shopping, A list is a collection of data that cannot hold duplicated data and cannot be changed
Python Data Structures

Flashcard
•
Computers
•
10th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
A list is a collection of data that has an order and can be changed
2.
FLASHCARD QUESTION
Front
Which of these is the correct code for creating a list of names? Options: nameList = John, Harry, Jesse, John, Harry, Harry; nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry"); nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]; nameList = [John, Harry, Jesse, John, Harry, Harry]
Back
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
3.
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]
4.
FLASHCARD QUESTION
Front
What would this output? print(users[0][0])
Back
sam
5.
FLASHCARD QUESTION
Front
What would this output? print(users[2][1])
Back
brown
6.
FLASHCARD QUESTION
Front
What would this output? print(users[0][2])
Back
23
7.
FLASHCARD QUESTION
Front
What would this output? print(users1)
Back
sam, smith, 23
Create a free account and access millions of resources
Similar Resources on Quizizz
4 questions
Hiszpańskie podstawy

Flashcard
•
KG
12 questions
Repaso de Piratas capítulo 2 y 3

Flashcard
•
10th Grade
9 questions
Lists and Tuples

Flashcard
•
KG
14 questions
PYTHON -- Lists v2

Flashcard
•
9th - 12th Grade
10 questions
Lists in Python

Flashcard
•
9th Grade
13 questions
Python Arrays

Flashcard
•
9th - 12th Grade
9 questions
Harry Potter and the Sorcerer's Stone

Flashcard
•
KG - 9th Grade
10 questions
Unidad 1 Lección 1 Ser

Flashcard
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade