
Python PCEP Flashcard #2

Flashcard
•
Science
•
6th - 8th Grade
•
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 data type in Python that is used to store multiple items in a single variable. Lists are ordered, changeable, and allow duplicate values. Example: x = [1, 2, 3]
2.
FLASHCARD QUESTION
Front
What is the output of the following code: numbers = [5, 14, 9, 17]; for number in numbers: if number % 3 == 0: print(number)?
Back
The output will be 9, as it is the only number in the list that is divisible by 3.
3.
FLASHCARD QUESTION
Front
What does the expression 'number > 7' evaluate to if number is 10?
Back
The expression evaluates to True, as 10 is greater than 7.
4.
FLASHCARD QUESTION
Front
What symbol is used in Python to assign values to a variable?
Back
The equals sign '=' is used to assign values to a variable in Python.
5.
FLASHCARD QUESTION
Front
What is a Dictionary in Python?
Back
A Dictionary is a data type in Python that stores data in key-value pairs. Example: x = {'a': 1, 'b': 2}.
6.
FLASHCARD QUESTION
Front
What is a Tuple in Python?
Back
A Tuple is a data type in Python that is similar to a list but is immutable (cannot be changed). Example: x = (1, 2, 3).
7.
FLASHCARD QUESTION
Front
What is the difference between a List and a Tuple?
Back
The main difference is that Lists are mutable (can be changed) while Tuples are immutable (cannot be changed).
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Functions Review (codeHS Tracy Python)

Flashcard
•
6th - 8th Grade
12 questions
Python II Lesson 2

Flashcard
•
5th - 9th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
12 questions
Python Coding

Flashcard
•
6th - 8th Grade
16 questions
Python L1 Knowledge Check

Flashcard
•
6th - 8th Grade
16 questions
Python L1 Knowledge Check

Flashcard
•
6th - 8th Grade
16 questions
Python L1 Knowledge Check

Flashcard
•
6th - 8th Grade
11 questions
Python Print Statement

Flashcard
•
6th - 10th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Science
20 questions
Lab Safety

Quiz
•
7th Grade
22 questions
Scientific Method and Variables

Quiz
•
8th Grade
20 questions
Scientific method and variables

Quiz
•
8th Grade
20 questions
Chemical and Physical Changes

Quiz
•
7th Grade
20 questions
Scientific Method

Quiz
•
7th Grade
20 questions
disney movies

Quiz
•
6th Grade
10 questions
Scientific Method and Variables

Quiz
•
6th Grade
20 questions
Lab Safety

Quiz
•
8th Grade