Worksheetspython
Total questions: 12
Worksheet time: 12mins
How do you write a print statement with a string in it?
(a)
How do you write a print statement with a variable?
(a)
How would you write an input statement that sets a variable as the users input
variable == input("")
variable = input()
input = ("")
variable = input("")
Will this add the number
Yes
No
Select the python math operators that work
x
+
÷
-
/
If you already imported time what command will wait ONE second?
(a)
what types of things can variable be set to?
Boolean
String
Number
All of the above
This will give me an error
True
False
What will be the output?
name = 'Dave'
greeting = "Good morning" + name
print (greeting)
Good morning 'Dave'
Good morningDave
Good morning name
Good morning Dave
what are the conditions in python if statements?
else
else/if
elif
if
elf
What so you call an if statement inside of an if statement
nested if statement
double if statement
insider if statement
