Home »
Python »
Python NumPy MCQs
What will be the output of the following Python code (1)?
11. What will be the output of the following Python code?
from numpy import random
x = random.randint(100)
print(x)
- 56
- 26
- 40
- All of the mentioned above
Answer: D) All of the mentioned above
Explanation:
In the above code, random.randint(100) function has been used which is used to create any integer number till 100.