It is suggested in the question to use the 'random' module. Therefore, ‘randint()’ function can be used which will return a random integer within the given range as parameters.
Program:
from random import randint
#Defining the function to generate the random number between 1 and 600
def generateRandom():
print("The winner of the lucky draw is the parent with token id: ",randint(1, 600))
print("")
#calling the function
generateRandom()
OUTPUT:
The winner of the lucky draw is the parent with token id: 313