Functions
Functions in Libraries
1000

What function types out a string in the console?

print

1000

What function in the random library gets a random integer between 2 integers?

random.randint

2000

What function gives a string typed into the console by the player?

input

2000

What function in the time library pauses the program for a specific number of seconds?

time.sleep

3000

What function adds in an external library into your code?

import

3000

What function in the random library mixes a list?

random.shuffle

4000

What function defines a function?

def

4000

What function in the math library returns pi?

math.pi
5000

What function converts "True" to True and "False" to False?

bool

5000

What function returns the time since January 1, 1970?

time.time