Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which module would you use to generate random numbers in python? ○ rand…

Question

which module would you use to generate random numbers in python?
○ random
○ datetime
○ math
○ numbers

Explanation:

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.

Answer:

A. random