0

No sé si alguien hablarå español por aquí pero cuåndo tengo estas líneas de aquí, num = 12 if num > 5:

No sé si en la consola para que no me lo considere error de sintaxis la coloco junta formando una línea porque al darle intro me lo considera error de sintaxis. Saludos a toda la comunidad

26th Jun 2020, 9:31 PM
Kevin SuĂĄrez
Kevin SuĂĄrez - avatar
3 Answers
+ 3
Hi your question isn't clear ,can you elaborate more about the problem you are facing? I read syntax error but num=12 if num>5: Is right syntax ,Also remember to pass some statements in if block ,if you don't want to you can simply write pass keyword
26th Jun 2020, 9:40 PM
Abhay
Abhay - avatar
+ 2
If first need to enter num=12 Then If num>5:
26th Jun 2020, 10:30 PM
Abhay
Abhay - avatar
0
Hi Abhay, I'll tell you my problem in English, when I have these 2 lines (num =12 if num>5:), I put It on my PC's console so I don't know how I would put It, because when I move that with intro, the console recognise that like a syntax error. Thank you for your help
26th Jun 2020, 9:54 PM
Kevin SuĂĄrez
Kevin SuĂĄrez - avatar