How to solve task #7 with gold purity? | Sololearn: Learn to code for FREE!

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")

6/10/2021 6:42:35 PM

Rostislav Kuscenko

1 Answer

New Answer

+2

Rostislav Kuscenko There should be only 99.9 not 99.99