
Prepa CC
Flashcard
•
Science
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a list in Python?
Back
A list is a collection of data that has an order and can be changed.
2.
FLASHCARD QUESTION
Front
How do you add an item to the end of a list in Python?
Back
Use the append() method, e.g., nameList.append('Felipe').
3.
FLASHCARD QUESTION
Front
What method would you use to remove an item at a specific index from a list?
Back
Use the pop() method, e.g., players.pop(3).
4.
FLASHCARD QUESTION
Front
What is the highest index of a list with 5 elements?
Back
The highest index is 4, as indexing starts at 0.
5.
FLASHCARD QUESTION
Front
How do you access the first element of a list?
Back
Use index 0, e.g., nameList[0].
6.
FLASHCARD QUESTION
Front
What will nameList = ['A', 'B', 'C']; nameList[1] return?
Back
It will return 'B'.
7.
FLASHCARD QUESTION
Front
What happens if you try to access an index that is out of range in a list?
Back
It raises an IndexError.
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
11 questions
Funciones y Servicios
Flashcard
•
University - Professi...
7 questions
Escenarios clínicos
Flashcard
•
University
15 questions
Domande al passato sulla vita quotidiana
Flashcard
•
University - Professi...
16 questions
U6 - L3 - Stanthorp Twinning Association
Flashcard
•
University
15 questions
Verbs and prepositions
Flashcard
•
12th Grade
16 questions
SAÚDE PÚBLICA
Flashcard
•
12th Grade - University
10 questions
CHAGOS VS UK
Flashcard
•
University
11 questions
Día Internacional de la mujer
Flashcard
•
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