Python Variables

Flashcard
•
Computers
•
6th Grade
•
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
8.
FLASHCARD QUESTION
Front
If my_variable = "lunch", what is the data type of my_variable?
Back
string
Similar Resources on Wayground
10 questions
Python

Flashcard
•
7th - 8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
8 questions
User Input in Python

Flashcard
•
8th Grade
10 questions
Grok Module 7 Practice

Flashcard
•
7th - 8th Grade
9 questions
Python Basic Functions

Flashcard
•
6th - 8th Grade
10 questions
Python Variables

Flashcard
•
6th Grade
13 questions
Python: Print Function, Data Types, and Variables

Flashcard
•
6th Grade
5 questions
Python Basics for Young Learners

Flashcard
•
7th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade