add to gothib

This commit is contained in:
Ultrablob 2025-01-20 11:37:00 -05:00
commit 523f45b46a
28 changed files with 419 additions and 0 deletions

20
votes.py Normal file
View file

@ -0,0 +1,20 @@
a = 0
b = 0
n = input("")
votes = input("")
for vote in votes:
if vote == "A":
a += 1
elif vote == "B":
b += 1
if a > b:
print("A")
elif a < b:
print("B")
else:
print("Tie")