Last answered:

15 Nov 2023

Posted on:

12 Nov 2023

0

Practice Exam: 2

In Q5, why did we put user_input more than 30 instead of less than 30?
in Q6, I can't understand how we can describe the correct items!

1 answers ( 0 marked as helpful)
Instructor
Posted on:

15 Nov 2023

0

Hey Ahmed,


Thank you for reaching out.


Regarding Question 5:

Note that the condition states: "If the number of monthly sales falls below 30, the loop stops and displays the list containing the stored values so far." The loop should therefore run while user_input is larger than 30. If that's not satisfied, we break the loop and the final print() statement is executed.


Regarding Question 6, could you please rephrase your question? Which is the part that confuses you?


Kind regards,

365 Hristina

Submit an answer