Newbie! I want to clean this up
Honestly just started trying to learn python and am having trouble with an exercise. How do I clean this up: [ name1 = input("what is your name? ") name2 = input("what is your name? ") name3 = input("What is your name? ") salary1 = eval(input("What is name1 weekly salary? ") salary2 = eval(input("What is name2 weekly salary? ") salary3 = eval(input("What is name3 weekly salary? ") groceries1 = eval(input("what is weekly grocery amount for name1? ") groceries2 = eval(input("what is weekly grocery amount for name2? ") groceries3 = eval(input("what is weekly grocery amount for name3? ") cable1 = eval(input("what is weekly cable amount for name1? ") cable2 = eval(input("what is weekly cable amount for name2? ") cable3 = eval(input("what is weekly cable amount for name3? ") gas1 = eval(input("what is weekly gas amount for name1? ") gas2 = eval(input("what is weekly gas amount for name2? ") gas3 = eval(input("what is weekly gas amount for name3? ") phone1 = eval(input("what is weekly phone bill amount for name1? ") phone2 = eval(input("what is weekly phone bill amount for name2? ") phone3 = eval(input("what is weekly phone bill amount for name3? ") weekly_expenses1 = groceries1 + cable1 + gas1 + phone1 weekly_expenses2 = groceries2 + cable2 + gas2 + phone2 weekly_expenses3 = groceries3 + cable3 + gas3 + phone3 left_over1 = salary1 - weekly_expenses1 left_over2 = salary2 - weekly_expenses2 left_over3 = salary3 - weekly_expenses3 savings1 = salary1 * .10 savings2 = salary2 * .10 savings3 = salary3 * .10 print("Name:", name1, "weekly salary:", salary1, "expenses:", weekly_expenses1, "salary after expenses:", left_over1, "amount of money to save:" savings1) print("Name:", name2, "weekly salary:", salary2, "expenses:", weekly_expenses2, "salary after expenses:", left_over2, "amount of money to save:" savings2) print("Name:", name3, "weekly salary:", salary3, "expenses:", weekly_expenses3, "salary after expenses:", left_over3, "amount of