0

How to solve task #7 with gold purity?

Gold purity closed task #7.... Present code x = float(input()) #ваш код if (x >= 75) and (x < 83.3): print("18K") if (x >= 83.3) and (x < 91.7): print("20K") if (x >= 91.7) and (x < 99.99): print ("22K") if (x >= 99.99): print ("24K")

10th Jun 2021, 6:42 PM
Rostislav Kuscenko
Rostislav Kuscenko - avatar
1 Odpowiedź
+ 2
Rostislav Kuscenko There should be only 99.9 not 99.99
10th Jun 2021, 6:48 PM
A͢J
A͢J - avatar