import random n1 = random.randint( 1, 40 ) n2 = random.randint( 1, 40 ) n3 = random.randint( 1, 40 ) n4 = random.randint( 1, 40 ) n5 = random.randint( 1, 40 ) n6 = random.randint( 1, 40 ) print( "Lottery Numbers:", n1, n2, n3, n4, n5, n6 )