+ 1
How do I do the finance app level
I don't know how to do it;-;
12 odpowiedzi
+ 8
Clear all the existing code (clear the screen) and copy below code:
savings=float(input())
savings = savings*(1.05)
print("Amount in 1 year:",savings)
this works!
+ 5
Haron Fariz Kasan How to show your attempt:
1. Save your code in Code Playground as public
2. Edit your question description
3. Tap "+" button, then "Code"
4. Choose your code from Code Playground
Plus, also in the question description, describe the task and your difficulties.
+ 5
Haron Fariz Kasan ,
not clear what your question or issue is.
> You should create and post the appropriate code and a precise task description with input and output samples.
+ 5
Dylan Stallings ,
it is better for you to start your *own post*, otherwise poeple will not get aware of you nd your problem.
> give a clear description what your issue is.
> please also include your current code in the post.
+ 4
Emerson Prado
I've made a tutorial before about that
https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
Use it instead of descripting the process if you want
+ 2
Hello! Show your attempt and I’ll help you
+ 2
Share your code
+ 1
Damion Void Pls avoid giving finished code as answer, because it makes the OP skip the most important part of learning, and encourage the Bad Habit of asking others to solve one's tasks. Prefer giving hints for the OP to find the solution instead.
+ 1
Whats wrong with this finance app I'm stuck for three days now test 1 correct test 2 and 3 wrong
0
I'm stuck to
0
I have solved the first case, not the rest of the cases. How do I solve them all in the same code?
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)