+ 2
I'm so stuck (Python for beginners)
Problem in question is this Now that we know how to combine multiple conditions, letâs improve our gold purity checker program and output the corresponding purity level in Karats! Here is the purity chart weâll be using: 24K â 99.9% 22K â 91.7% 20K â 83.3% 18K â 75.0% If the percentage is between 75 and 83.3, the gold is considered to be 18K. If it's between 83.3 and 91.7 - then itâs 20K, and so on. Given the percentage as input, output the corresponding Karat value, including the letter K. Sample Input: 92.4 Sample Output: 22K I'm not sure if I'm using the wrong indentation or functions. Help please :(
2 Answers
+ 1
This is it. Thank you so much. My functions were off