
Python Variables
Flashcard
•
Computers
•
6th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

8 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What type of variable is the following?: Y = False
Back
Boolean
2.
FLASHCARD QUESTION
Front
What does the following Python program print?
X = "Hello World!"
Y = "I can code "
Z = " In Python"
print( X + Y + Z)
Back
Hello World!I can code In Python
3.
FLASHCARD QUESTION
Front
Variables have three things:
Back
name, type, value
4.
FLASHCARD QUESTION
Front
When you want to print something to the screen you should use
Back
a print statement
5.
FLASHCARD QUESTION
Front
print("Python " * 3); will print out what
Back
Python Python Python
6.
FLASHCARD QUESTION
Front
Which of the following is a correct way to declare a string in Python? Options: str = "Hello", str = Hello", str = "Hello", str = Hello
Back
str = "Hello"
7.
FLASHCARD QUESTION
Front
In Python, the variable type that stores a whole number is...
Back
integer
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?