from random import randint # Import randint from random print(randint(1,20)) # Gets random number from first parameter to the second