+ 2

Need help with python's introduction "finance app", level

Hello, my problem is that I need all three test working at the same time, however I can only manage one at a time, am I doing something wrong? And if not, what can I do? https://code.sololearn.com/c6dgSdKl90vZ/?ref=app here is my code if you want to check it Thanks for the help everyone I figured it out and can get back to learning!:D if anyone need help with it in the future, leave the "input()" at the top empty so sololearn doesn't struggle with running all three test:)

4th Aug 2023, 6:58 PM
dubblgg
dubblgg - avatar
2 Respostas
+ 6
dubblgg , > to figure out what the issue is, we need to see your current code first. > please save your code in playground, and post a link to it here.
4th Aug 2023, 7:03 PM
Lothar
Lothar - avatar
+ 4
Your line 2 is hard-coded. You have assigned the value of 150 to it. (savings = 150) 👈 incorrect Your code comment says, to ask user to input the savings. It should look something like this.... if it is asking input as integer? savings = int(input()) if not integer.. should be like savings = input()
5th Aug 2023, 4:53 AM
D Shah 🎯⏳️
D Shah 🎯⏳️ - avatar