Variables in Python

What is the variable type: x = 5
Int
Float
Char
String
Boolean
What is the variable type: x = true
Int
Float
String
Char
Boolean
What is the variable type: x = "true"
Int
Float
String
Char
Boolean
What is the variable type: x = -5.0
Int
Float
String
Char
Boolean
What is the proper format for creating a variable?
[name] : [value]
[type] [name] : [value]
[type] [name] = [value]
[name] = [value]
Fill in the blank: After we create the variable, we need to ____ in order to assign it a value.
Assign
Set
Initialize
Is this a proper variable name in Python: x
True
False
Is this a proper variable name in Python: _x
True
False
Is this a proper variable name in Python: 1x2y
True
False
True or false: Variable names are case-sensitive. (i.e. Age is equal to age)
True
False
{"name":"Variables in Python", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is the variable type: x = 5, What is the variable type: x = true, What is the variable type: x = \"true\"","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Make your own Survey
- it's free to start.