Update main.py

This commit is contained in:
Namhyeon Go 2021-12-23 17:05:06 +09:00 committed by GitHub
parent c1a9bb584f
commit 13c735c688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ print ('Best matched numbers (' + str(_x) + 'th):')
nums = []
_num = 0
for n in range(1, 7): # excluded bonus number
_num = make_num(x, n, variable[0], variable[1], variable[2], _num, variable[3], 1, 45)
_num = make_num(_x, n, variable[0], variable[1], variable[2], _num, variable[3], 1, 45)
nums.append(_num)
print(', '.join(str(x) for x in nums))
@ -77,6 +77,6 @@ for variable in variables:
nums = []
_num = 0
for n in range(1, 7): # excluded bonus number
_num = make_num(x, n, variable[0], variable[1], variable[2], _num, variable[3], 1, 45)
_num = make_num(_x, n, variable[0], variable[1], variable[2], _num, variable[3], 1, 45)
nums.append(_num)
print(', '.join(str(x) for x in nums))