This commit is contained in:
2022-12-03 16:26:25 +02:00
parent ecb3f23dbe
commit 6428567595

18
02/b.py
View File

@@ -23,7 +23,7 @@ for l in f:
round2 = 1
if o == 'Z':
result = 'loss'
round2=2
round2 = 2
if v == 'B':
if o == 'X':
@@ -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)