- 1

Noticing major flaws on this site.

i keep noticing the wording of problems has been REwritten to not match the answers to the code challenges. This is a HUGE issue as to no one will pass the certifications unless they look up old answers. PROOF: ---> https://www.sololearn.com/learning/1157/4509/11483/1 Look at the purities being asked for in the question. If you write the code in reference to those it will be concluded as INCORRECT. I had to look up someones old answer with purities NOT matching the question to pass the code challenge ---> PASSING CODE BELOW: purity = float(input()) #your code goes here if purity >= 99.9: print("24K") elif purity >= 91.7 and purity < 99.9: print("22K") elif purity >= 87.5 and purity < 91.7: print("21K") elif purity >= 83.3 and purity < 87.5: print("20K") elif purity >= 75.0 and purity < 83.3: print("18K")

8th Feb 2022, 5:23 AM
Jake Ambrose
Jake Ambrose - avatar
1 Réponse
+ 2
you mean Python for beginner: practice 24.2? looks good to me. And you don't need those ANDs, the second condition is already obviously true if the execution gets to that point. REAL PROOFS: ---> This says in the question: "Here is the purity chart we’ll be using: 24K – 99.9% 22K – 91.7% 20K – 83.3% 18K – 75.0%" Same as in your code, and you don't need the 21K
8th Feb 2022, 5:37 AM
CGM
CGM - avatar