How to solve task #7 with gold purity? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 2
Rostislav Kuscenko There should be only 99.9 not 99.99
10th Jun 2021, 6:48 PM
AĶ¢J
AĶ¢J - avatar