vitorias = 0
for partidas in range (6):
    resultado = input()
    if resultado == "V":
        vitorias += 1
if vitorias > 4:
    print("1")
elif vitorias == 4 or vitorias == 3:
    print("2")
elif vitorias == 1 or vitorias == 2:
    print("3")
else:
    print("-1")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: