Easy python coding question Code as instructed: 1. Generate a random integer between 0 to 100 (both
Fantastic news! We've Found the answer you've been seeking!
Question:
Easy python coding question
Code as instructed:
1. Generate a random integer between 0 to 100 (both areincluded)
2. Use branching statements (Use if, elif, else):
a. If the random number generated is between 0 to 30 (both areincluded); print "Number is low"
b. If the random number generated is between 31 to 70 (both areincluded); print "Number is ok"
c. If the random number generated is between 71 to 100 (both areincluded); print "Number is high"
Related Book For
Posted Date: