Skip to content

Commit 5e52fca

Browse files
Merge pull request #1385 from AmaralVinicius/patch-1
updating import
2 parents a8852ab + 895f4b4 commit 5e52fca

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)