I have a followup question for this python code. The scenario where my code is not correct
Question:
I have a followup question for this python code.
The scenario where my code is not correct is when: amount of donation$ is less than target donation goal
After inputting some $ amount, the user placed a stop sign and doesn't want to input another donation$. I want the program to say "You did not meet the target donation goal of___" . (It should not put the 3 additional information of $sum, no. of transactions, and average as of this time). Instead, it will ask to input more $donation until it reaches the $donation goal. If after inputting more $, it has reached the $donation goal, then it will say "Congratulations! Your goal of quot;, donation_goal, "has been met!"). Then, this is the time the program would display information of the sum$, total number of donations and the average. These 3 pieces of information(sum, no. of transactions and average should only be at the last when the donor has met the target donation.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill