Respuesta :

Answer:

Following are the code to the given question:

import random as r#import random package

correctAnswer = r.randint(1,20)#defining a variable correctAnswer that hold randint method value

print(correctAnswer)#print correctAnswer variable value

Output:

15

Explanation:

In the above-given python code, a random package is imported as the "r", and in the next step, the "correctAnswer" variable is declared that uses the randit method with two integer parameters that are "1,20" and returns a value that holds a value into its variable, and use the print method to prints its value.

Answer:

from random import *

Explanation:

edge :)

have a wonderful day <3