programming-examples/python/Basics/Program to generate a random number between 0 and 9.py
2019-11-18 14:44:36 +01:00

6 lines
128 B
Python

# Program to generate a random number between 0 and 9
# import the random module
import random
print(random.randint(0,9))