🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code?

from numpy import random
x = random.randint(100) 
print(x)
A
56
B
26
C
40
D
All of the mentioned above
Explanation

The function random.randint(100) generates a random integer between 0 and 99. So, the output can be any number, like 56, 26, or 40.

Therefore, the correct answer is (D) All of the mentioned above.

Correct Answer: D) All of the mentioned above

Latest Updates