Vidyalelo
Python · Q57

Module in Python

Programming · Python · question 57

Q57

What is the output of the following code:from random import randintprint(randint(1, 10))

A.
A random integer between 1 and 10
Answer
B.
An error will occur
C.
10
D.
1

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board