랜덤뽑기
로또 출력하기 import random def printLotto(num_list): lotto = [] lotto = random.sample(num_list, 6) lotto.sort() for n in range(6): print(f'{lotto[n]:>02}', end=" ") #print(f'{str(lotto[n]).zfill(2)}', end=" ") print() numbers= list(range(1,46)) for i in range(5): printLotto(numbers) A-D가운데 하나 뽑고, 가~아 에서 2개 뽑아 출력하기 import random member1 = set(["A","B","C","D"]) member2 = set(["가","나","다","라","마","바","..