Question #290312

write a program that generates and prints 50 random integers, each about 3 and 6.


Expert's answer

import random


if __name__ == '__main__':
   for i in range(50):
       print(random.randint(3, 6))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS