Skip to content

Commit ea8a0cc

Browse files
authored
Create Random.py
1 parent c24bf0c commit ea8a0cc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Random.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Program to generate a random number between 0 and 9
2+
3+
# importing the random module
4+
import random
5+
6+
print(random.randint(0,9))

0 commit comments

Comments
 (0)