0
Youâre making a gold purity checker, that should accept only 22K or 24K gold. Only the good stuff! 22K gold has 91.7% or more
purity = float(input()) if purity >= 91.7 : print ("Accepted") if purity >= 99.9 : print("Accepted")
2 Answers
+ 3
Hi Ghassan!
You don't even have to use the second if statement .
purity = float(input())
if purity >= 91.7 :
print ("Accepted")
0
Thanks