Python - Lists, Dictionaries and Loops
Flashcard
•
Computers
•
9th - 12th Grade
•
Easy
Wayground Content
Used 1+ times
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Does list[a:b] return the portion of list starting with index a and ending before index b?
Back
True
2.
FLASHCARD QUESTION
Front
What will be the value of last_jedi after the following code is run? Options: ["kylo", "rey", "finn", "luke"], ["kylo", "rey", "finn"], 3, 4
Back
["kylo", "rey", "finn"]
3.
FLASHCARD QUESTION
Front
What will be the value of authors after the following code is run? Options: ["Martin", "Rowling", "Tolkien"], ["Martin"], ["Rowling"], ["Tolkien", "Rowling", "Martin"]
Back
["Martin", "Rowling", "Tolkien"]
4.
FLASHCARD QUESTION
Front
What will this code print? Options: 6, 1, pants, "pants": 6
Back
6
5.
FLASHCARD QUESTION
Front
What will be the value of colors after the following code is run?
Back
light blue, pink
6.
FLASHCARD QUESTION
Front
What is the correct syntax to write a for loop to iterate through the list grades? Options: for x:, for x in grades, x in grades:, for x in grades:
Back
for x in grades:
7.
FLASHCARD QUESTION
Front
What does the following code do?
Back
It prints all numbers in range(0, 6) separately.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Ulangan Trigonometri
Flashcard
•
9th - 12th Grade
15 questions
Kuis Analisis Data
Flashcard
•
8th Grade - University
18 questions
Unit 201 - Exemplar Exam Questions
Flashcard
•
8th - 12th Grade
17 questions
India Sports
Flashcard
•
8th - 12th Grade
20 questions
Leisure Services in the UK
Flashcard
•
KG - University
15 questions
Unit II Test Review Bio A (Ch. 3-5)
Flashcard
•
9th - 11th Grade
15 questions
PART 2-PA First Semester Review-December 2024
Flashcard
•
8th Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
16 questions
Lesson 3.5 - If Structures Practice
Quiz
•
11th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade