0

My code fails at the last test case... can't find what's wrong. Appreciate your help on this one.

https://code.sololearn.com/cdQgbvA3Y23J/?ref=app

19th Feb 2023, 4:59 AM
Aiman
3 Respostas
+ 6
Aiman > you should not use and post someone else code!!! please do a try by yourself. the conditions should be: (the task description says: 99.9%, and we need to use *>=99.9* for the last condition)
19th Feb 2023, 9:11 PM
Lothar
Lothar - avatar
+ 4
Where is your code?
19th Feb 2023, 5:35 AM
A͢J
A͢J - avatar
+ 3
What if purity is greater than 99.99 ? Made last part as else case Or use >= instead of == Notify after any edit to know...
19th Feb 2023, 6:34 AM
Jayakrishna 🇮🇳