>= invalid syntax | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 1

>= invalid syntax

when i uso a signal like = have a syntax error helo please for float (imc)>=16 :

8th Sep 2016, 10:26 PM
Guilhermino Lucas
Guilhermino Lucas - avatar
3 Respuestas
+ 1
what is the whole code you are using it in?
8th Sep 2016, 10:28 PM
azdbacks 17
azdbacks 17 - avatar
+ 1
Try with if instead of for. if float(imc)>=16:
8th Sep 2016, 11:13 PM
Zen
Zen - avatar
0
Are you sure you are using the version of Python this app is using? It is 3.5.2...not the new one that was released. I ran into a few hiccups until I switched to the same version the app was using. Try the code playground and see if that works in the app just below the question. If it does work then you for sure know it might have something to do with your install.
9th Sep 2016, 9:34 PM
Xena Olsen
Xena Olsen - avatar