Answer to Question #290312 in Python for Abrahamphilip

Question #290312

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


1
Expert's answer
2022-01-24T12:27:48-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS