logo CodeStepByStep logo

random_odd_integer_50_to_99

Language/Type: Python random

Write code that generates a random odd integer (not divisible by 2) between 50 and 99 inclusive. Fill in the values of the sub-expressions labeled A, B, and C below.

num = random.randint(A) * B + C
A
B
C

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.