Hey guys,how are you?I hope well,But I am in need of help with the following code:
import random
pen=random.randint(0,5)
print('Eu irei pensar em um número de 0 até 5\nVocê tem que tentar adivinhar\nJá pensei')
esc=int(input('Em qual número eu estou pensando?')
if pen == esc:
print('Parabéns, você acertou!')
else:
print('Que pena, você errou era o número {}'.format(ns))
I'm Brazilian so don't find the language strange and the problem is if the program says that the colon is a invalid syntax
Please give a help