Skip to content

Commit 9dd5040

Browse files
authored
Add files via upload
1 parent b9555aa commit 9dd5040

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lotto.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import random
2+
3+
print("로또 번호 생성기")
4+
num = int(input("게임수 입력 :"))
5+
6+
for i in range(0, num):
7+
lotto = random.sample(range(1, 46), 6)
8+
lotto.sort()
9+
print(lotto)

0 commit comments

Comments
 (0)