Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

you want to use the randrange() method. which line will allow you to en…

Question

you want to use the randrange() method. which line will allow you to enter the following code in idle

>> randrange(10,20,2)

10

>> randrange(1,9)

2
from randrange import math
from math import randrange
from randrange import random
from random import randrange

Explanation:

Brief Explanations

In Python, the randrange function is part of the random module. To use it, you need to import randrange from the random module.

Answer:

D. from random import randrange