0
I have tried to solve this but it bringing error
purity = float(input()) #your code goes here If purity > 99.9 \\ purity >=91.7: print ("Accepted")
3 Answers
+ 5
Note that â\\â is not used in Python.
Instead, you may use âorâ.
Try this:
if purity > 99.9 or purity >= 91.7:
+ 3
# And you can actually simplify it even more:
if 91.7 <= purity < 99.99:
print("Accepted")
+ 1
Thanks sir