fork download
  1. #prog 1 random number generator
  2. import random #import the random module
  3. print("welcome to the random number generator")
  4. randum=random.randint(1,100)
  5. print("your random number between 1 and 100 is...",randum)
Success #stdin #stdout 0.03s 11636KB
stdin
Standard input is empty
stdout
welcome to the random number generator
your random number between 1 and 100 is... 10