Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Python Course Not Letting Me continue
In my python course, basic, for Boolean and if statements im tying to finish a lesson but it wont let me continue even though im getting the answer right. Its about measuring gold purity. Code is supposed to Output "Accepted" if >= a certain float and no Output if <. Here is my code purity = float(input()) if purity >= 91.7: print("Accepted") if purity >= 99.9: print("Accepted") if purity != 91.7: print() if purity != 99.9: print() There is only one problem case where i cant see what the output was and its locked. I just want to finish this subject and move on to another
1 Resposta
+ 2
Remove all if only leave first.
Your task is to check if purity is more or equal than 91.7
And read again how if and nesting works, to understand better