New course! Every coder should learn Generative AI!
Try a free lesson0
The code is meant to return the percentage value of the ratio between 2 variables as long as one is greater than 3 please help
4 Answers
+ 2
Some things I noticed
You calculated <result> while you haven't read value for <houses>
You print unnecessary stuffs like prompt for <houses> and warning for when <houses> is less than 3. This can fail your attempts solving Coach challenge
You don't round <percent> up where task Description specifically states rounding up is required.
+ 2
If this was about Coach Challenge then output must be exactly as requested in task Description. Any output printed other than what was requested will be considered a violation to the task requirement.
That is if this was about the halloween challenge, and other Coach Challenges though ...
+ 1
Ipang thanks alot
0
Ipang thanks for the answer but can you please explain how prompting for input is unnecessary. Thanks