Review Lists in Python (before Lab 8)
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

5 questions
Show all answers
1.
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"]
2.
FLASHCARD QUESTION
Front
Which of these pieces of code would return the name "John" from the following list? nameList = ["John", "Harry", "Jesse", "Pasquale", "Nick", "Joe"] Options: nameList[1], nameList[0], nameList["1"], nameList["0"]
Back
nameList[0]
3.
FLASHCARD QUESTION
Front
What is the position of the name "Robert" in the following list: 0, 1, 2, 3
Back
2
4.
FLASHCARD QUESTION
Front
To print a list called fruitList we use
Back
print(fruitList)
5.
FLASHCARD QUESTION
Front
What is the output of this code fragment?
Back
Calculates the average of the numbers in the list
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
2 questions
W7.4
Flashcard
•
KG - University
8 questions
Customer Service Vocabulary
Flashcard
•
7th - 12th Grade
7 questions
for zv patho
Flashcard
•
KG
2 questions
7.2 The Cosine Law
Flashcard
•
12th Grade
3 questions
Chris B Remediation CIA 3 Algebra
Flashcard
•
9th - 12th Grade
5 questions
Cvc word game
Flashcard
•
KG - University
6 questions
Fetch-Execute Cycle and CPU Registers
Flashcard
•
KG
6 questions
unit2-PG-QUANTIFIERS
Flashcard
•
7th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade