How to solve the finance app test on python
Share your attempt. Let me know what you find confusing.
i just explained how to fix it 🤔 You need to change line 4 as I suggested in my previous response and change line 13 to this: message = ("Amount in 1 year: " + total)
There are two things you need to correct in your code: 1. On line 4 you should convert 'savings' into a float. This is because when you take the input() on line 2, Python stores the value as a string by default. savings = float(savings) 2. You need to add a space just before the closing quote so that there is a space between your text and the balance in your output.
Hi Anastasia Xydia, You should start a new topic by going to 'DISCUSS => +New Post' and post your code so I or someone else can help you 👍
Or u can see the finance test on the python
Can you just share the code to solve that pls