QUESTION IMAGE
Question
which module would you use to generate random numbers in python?
○ random
○ datetime
○ math
○ numbers
Brief Explanations
The random module in Python is specifically designed for generating various types of random numbers and performing random selection operations. The datetime module handles date and time functions, math provides mathematical constants and non-random mathematical operations, and there is no built-in numbers module for random number generation in standard Python.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
A. random