Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- salary = float(input())
- months = int(input())
- minimal_costs = float(input())
- monthly_savings = salary * 0.70 - minimal_costs
- print(f"She can save {monthly_savings / salary * 100:.2f}%\n{monthly_savings * months:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement