Skip to content

Commit 895f4b4

Browse files
updating import
1 parent 00c39a0 commit 895f4b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Randomnumber

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Program to generate a random number between 0 and 9
22

33
# importing the random module
4-
import random
4+
from random import randint
55

6-
print(random.randint(0,9))
6+
print(randint(0,9))

0 commit comments

Comments
 (0)