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-18 14:44:36 +01:00
# Program to generate a random number between 0 and 9
# import the random module
import random
print(random.randint(0,9))