

Quick Python Review
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
FITRI KARIMAH
Used 1+ times
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a variable in Python?
Back
A variable stores data that can be used later in the program.
2.
FLASHCARD QUESTION
Front
How do you get input from the user?
Back
Use the input() function
3.
FLASHCARD QUESTION
Front
How do you display text or values on the screen?
Back
Use the print() function
4.
FLASHCARD QUESTION
Front
How do you make decisions in Python?
Back
Use if, elif, and else statements
5.
FLASHCARD QUESTION
Front
How do you repeat an action a fixed number of times?
Back
Use a for loop with range()
6.
FLASHCARD QUESTION
Front
How do you create and use a function in Python?
Back
Use def to define a function
7.
FLASHCARD QUESTION
Front
How do you write comments in Python?
Back
Use # for single-line comments
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?