What symbol is used to assign a variable
An equal sign ( = )
Give an example of a function that comes with python (one that you did not write)
What is print() / int() / input() (randint() & sleep() are also ok)
prints "Hello World"?
The answer is not saved to a variable
What do we call how much space there is after an if statement, while loop, for loop, and function
Indentation
What 3 letter word is used to define a function
def
What function displays words to your output? (Prints stuff)
print()?
prints "hotdog"?
x = 5 is supposed to be x == 5
What repeats code forever until the condition is False
While Loops
What is a symbol you can't use to name a variable
^&*-!=@{#}[$]:%"'<>?,./`~ (Any of these answers are valid)
Which python function asks the user for an answer
input()
prints "Hello" forever?
The code is time.sleep(5)
What are blocks of code that are run whenever they are called
Functions
What symbol is used at the end of if, for, when, and functions?
A colon? ( : )
Which python function turns strings into integers
int()?
prints the numbers 1 2 3 4?
The elif has the wrong indentation
import
Using a function from a library (like randint() or sleep() ) needs to include the name of the library where?
Right before the function ( time.sleep() )
Which python function from the random library gives you a random number within a range of two numbers entered
What is random.randint()
prints 0 1 2 3 4 5?
The function being called?