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
Get step-by-step solutions from verified subject matter experts
