Question: Show how would you correct and restructure the following code? sum = 1000 times == int(input(Is your money multiplied 1 or 2 times? ) if

Show how would you correct and restructure the following code? sum = 1000 times == int(input("Is your money multiplied 1 or 2 times? ") if times = 1: donation == int(input("And how much are you contributing? ")) sum = sum + donation if times = 2: donation == int(input("And how much are you contributing? ")) sum += 2*donation

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!