programming-examples/python/_Basics/Program to generate a random number between 0 and 9.py

6 lines
128 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
# Program to generate a random number between 0 and 9
# import the random module
import random
print(random.randint(0,9))