/ Published in: Python
This program generates random nine digit number and prints it to the terminal screen.
Expand |
Embed | Plain Text
#importing random function import random strRandomNumber = "" for i in range(1,10): intNumber = random.randrange(10) strRandomNumber += str(intNumber) print (strRandomNumber)
You need to login to post a comment.
