
Lists and Tuples in Python
Flashcard
•
Other
•
KG
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is a valid way to create a list in Python? Options: my_list = [1, 2, 3], my_list = (1, 2, 3), my_list = {1, 2, 3}, my_list = 1, 2, 3
Back
my_list = [1, 2, 3]
2.
FLASHCARD QUESTION
Front
What is the main difference between lists and tuples?
Back
Lists are mutable, tuples are immutable
3.
FLASHCARD QUESTION
Front
How can you access the second element of a tuple t = (10, 20, 30)?
Back
t[1]
4.
FLASHCARD QUESTION
Front
Which of these methods can you use with lists but not tuples? append(), count(), index(), sort()
Back
append()
5.
FLASHCARD QUESTION
Front
Tuples can contain duplicate elements.
Back
True
6.
FLASHCARD QUESTION
Front
You can add elements to a tuple after it has been created.
Back
False
7.
FLASHCARD QUESTION
Front
A tuple is defined using __________ parentheses, while a list is defined using __________ parentheses.
Back
round, square
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
Manifest Destiny/War of 1812 ?'s
Flashcard
•
8th Grade
10 questions
The most in the world!
Flashcard
•
1st - 5th Grade
10 questions
The Writing Process
Flashcard
•
7th Grade
7 questions
Reconstruction POP FLASHCARD
Flashcard
•
8th Grade
11 questions
Reading Comprehension
Flashcard
•
5th Grade
10 questions
Mixtures and solutions
Flashcard
•
3rd - 4th Grade
12 questions
U.S. Government Flashcard
Flashcard
•
4th Grade
13 questions
Geography 7 - Lesson 1.9 - 1.10 Citizenship/History Basics
Flashcard
•
7th 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
Discover more resources for Other
4 questions
Conflict Resolution
Lesson
•
KG
20 questions
Place Value
Quiz
•
KG - 3rd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
24 questions
CKLA Unit 5 assessment K
Quiz
•
KG
10 questions
STAAR Review - Editing & Revising Clusters
Quiz
•
KG
10 questions
Reflexive Pronouns
Quiz
•
KG - 5th Grade
10 questions
Long i- igh, ie, and y Quiz
Quiz
•
KG - 3rd Grade
12 questions
Quarter Past, Half Past, and Quarter To
Quiz
•
KG - 12th Grade