CBSE Class 11 Computer Science
Question 18 of 22
Introduction to Python Modules — Question 18
Back to all questionsimport
random
random_number
=
random
.
randint
(
0
,
9
)
print
(
"Random number between 0 and 9:"
,
random_number
)
Output
Random number between 0 and 9: 2
Random number between 0 and 9: 3