programming-examples/python/_Basics/Program to generate a random number between 0 and 9.py
2019-11-15 12:59:38 +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))