Am stuck on the finance app | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Am stuck on the finance app

7th Oct 2023, 9:00 AM
Ouma Duncan
Ouma Duncan - avatar
2 Answers
+ 1
Please use a better tag such as "python" instead of "1", then we can identify which programming language you are studying. It is also good to write the module name you have problems with, so we can reach that module and see what task is in question. Finally and most importantly please post you code so we can study what is wrong. Follow below instructions to post code in Q&A Discussion. https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
7th Oct 2023, 9:23 AM
Wong Hei Ming
Wong Hei Ming - avatar
0
# Asks the user to enter the savings savings = input() # Convert the user input into a float value and update the variable savings = float (savings) # Savings grow after 1 year at a 5% annual interest rate balance = savings * 1.05 # Convert the balance into a string and update the variable balance = (str(balance)) # Concatenate the 2 strings to produce a message message = "Amount in 1 year: " + balance # Display the message print (message) Use mine code and paste in
3rd Nov 2023, 6:55 PM
Jay Pham
Jay Pham - avatar