Intn = random.randint NameError: name 'random' is not defined code example Example: Intn = random.randint NameError: name 'random' is not defined import random