O Level Papers!
random.randint(4) is incorrect usage. randint needs two arguments (start and end), so this throws an error.