Invalid syntax | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Invalid syntax

print("___________________________") print("BEM VINDO AO JOGO!") print("___________________________") print("___________________________") print("Escolha seu personagem!") print("___________________________") print("(1) - Thanos") print("___________________________") print("(2) - Bolsonaro") print("___________________________") print("(3) - Steve") print("___________________________") pers=input(int("Qual personagem vocĆŖ quer?=") if pers==1: print("Thanos escolhido!! Vamos estalar os dedos!")

20th Jun 2020, 8:42 PM
Authentic Games
Authentic Games - avatar
2 Respostas
+ 1
In the line with "input", a trailing closing parenthesis is missing. Also, I think "input" and "int" should be reversed.
20th Jun 2020, 8:44 PM
Felipe BF
+ 2
Just to make sure u understand what Felipe BF is saying pers=input(int("Qual personagem vocĆŖ quer?="šŸ‘‰)šŸ‘ˆ) You need that closing parenthesis that i pointed
20th Jun 2020, 11:21 PM
Jingga Sona
Jingga Sona - avatar