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)
  1. 56
  2. 26
  3. 40
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.