<filename>python-basic-project/unit06/03.py
import random 


lotto = []
while len(lotto) != 6:
    num = random.randint(1, 45)
    if num not in lotto:
        lotto.append(num)

print(lotto)

<filename>python-basic-project/unit06/03.py
import random 


lotto = []
while len(lotto) != 6:
    num = random.randint(1, 45)
    if num not in lotto:
        lotto.append(num)

print(lotto)
