What the wrong in this cod | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 1

What the wrong in this cod

hige livil = eval(input('Enter your livil') low livil = eval(input('enter your low livil') your livil = hige livil * low livil +50 if hige livil > low livil: print('paas') else: print('fail') print(your livil,'you pass')

6th Oct 2019, 8:06 AM
Mansor Ty
Mansor Ty - avatar
1 Réponse
0
Check each variables' format, put the else inline with the if statement.
6th Oct 2019, 8:22 AM
rodwynnejones
rodwynnejones - avatar