I get the following error when I try to execute this code,
Traceback (most recent call last):
File "c:\dev\tmp\_t636427523447579562.py", line 32, in tentativa = int(input())
EOFError: EOF when reading a line
import random
import sys
controlo = 0
numero = 134+78
while controlo<3:
tentativa = int(input())
if tentativa == numero:
print("Acertou")
break
else:
controlo +=1
continue
if controlo == 3:
print("Falhou")
sys.exit()
controlo = 0
random_1 = random.randrange(1, 100)
random_2 = random.randrange(1, 100)
soma = random_1 + random_2
while controlo<3:
tentativa_2 = int(input())
if tentativa_2 == soma:
print("Acertou")
break
else:
controlo +=1
continue
if controlo == 3:
print("Falhou")