Clean up
This commit is contained in:
16
02/b.py
16
02/b.py
@@ -45,21 +45,19 @@ for l in f:
|
||||
if o == 'Z':
|
||||
round2 = 1
|
||||
|
||||
if o == 'X':
|
||||
round2 = round2 + 0
|
||||
if o == 'Y':
|
||||
round2 = round2 + 3
|
||||
round2 += 3
|
||||
if o == 'Z':
|
||||
round2 = round2 + 6
|
||||
round2 += 6
|
||||
|
||||
tot2 = tot2 + round2
|
||||
tot2 += round2
|
||||
|
||||
if o == 'X':
|
||||
round = round + 1
|
||||
round += 1
|
||||
if o == 'Y':
|
||||
round = round + 2
|
||||
round += 2
|
||||
if o == 'Z':
|
||||
round = round + 3
|
||||
round += 3
|
||||
|
||||
res = 3
|
||||
if result == 'loss':
|
||||
@@ -67,7 +65,7 @@ for l in f:
|
||||
if result == 'win':
|
||||
res = 6
|
||||
|
||||
tot = tot + round + res
|
||||
tot += round + res
|
||||
|
||||
print(tot)
|
||||
print(tot2)
|
||||
|
||||
Reference in New Issue
Block a user