CBSE Class 11 Computer Science Question 63 of 63

Introduction to Python Modules — Question 10

Back to all questions
10
Question

Question 10

Each time we use the randint() function, it produces different results.

Answer

True

Reason — Each time the randint() function from the random module is used, it produces a different random integer within the specified range. This is because randint() generates a new random value each time it is called.