jenkinsfile

This commit is contained in:
unknown 2020-04-03 14:57:50 +02:00
parent e877e2b6d1
commit 0c3f5f0027

View File

@ -15,7 +15,7 @@ with open("helper.txt", "r") as f:
helper = line.replace("Scores: (#C #S #D #I) ", "").split() helper = line.replace("Scores: (#C #S #D #I) ", "").split()
sum = int(helper[0]) + int(helper[1]) + int(helper[2]) + int(helper[3]) sum = int(helper[0]) + int(helper[1]) + int(helper[2]) + int(helper[3])
print(sum) print(sum)
sum = (int(helper[0])/int(sum)) * 100 sum = ((int(helper[0]))/(int(sum))) * 100
print(sum) print(sum)
globalPercent += sum globalPercent += sum
counter += 1 counter += 1