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

you want to use the randrange() method. which line will allow you to enter the following code in idle\n>>> randrange(10,20,2)\n10\n>>> randrange(1,9)\n2\nfrom randrange import math\nfrom math import randrange\nfrom randrange import random\nfrom random import randrange

you want to use the randrange() method. which line will allow you to enter the following code in idle\n>>> randrange(10,20,2)\n10\n>>> randrange(1,9)\n2\nfrom randrange import math\nfrom math import randrange\nfrom randrange import random\nfrom random import randrange

Answer

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