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 Respuestas
+ 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