logo CodeStepByStep logo

odd_stuff

Language/Type: Python for loops functions mystery

What is the output of the following odd_stuff function?

def odd_stuff():
    number = 4
    for count in range(1, number + 1):
        print(number)
        number = number // 2
output

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.