What functions gets user input?
input()
What is a variable?
A name for a stored value
What operator symbol adds two numbers?
What is "+"
What is a mistake in the code called?
An error or "bug"
What keyword starts a conditional statement?
`if`
What type does input() return?
string (str)
What data type is "Hello!"
string (str)
What is the output of 5 + 3 x 2?
11
What error comes from a missing colon after an if statement?
Syntax Error
What does == mean?
Checks whether two values are equal.
What function displays a message on the screen?
print()
What data type is 3.14?
Floating Point Number (float)
What does 10 % 3 return?
1
What error occurs with an undefined variable?
Name Error
Which error can happen with `int("hello")`?
Value Error
Write code that asks the user for their name and stores it in a variable called `name`.
name= input("Enter your name")
What data type is 'True' or 'False'?
Boolean value ('bool')
What does '/' do in Python?
Floating Point Division
Which error can happen when you try to add an integer and a string, such as `5 + "hi"`?
Type Error
What keyword checks another condition after an `if`?
`elif`
What will be the output of this code if the user enters `Johnny`?
name = input("Name: ")
print("Hi " + name)
'Hi Jonny'
What data type is '8'?
Integer (int)
What is 17 % 5?
2
Which kind of error is caused by `int("hello")`?
Value Error
Which keyword designates the code to run when all conditions checked in an if statement are false?
`else`