Can anyone help me understand what I did wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone help me understand what I did wrong?

I thought I did it right, but for so me reas on my initial input message displays with the result and user never gets prompter for input. https://code.sololearn.com/cIPIGmehap2A/?ref=app

19th Jul 2023, 8:03 PM
AniZaTo
5 Answers
+ 3
AniZaTo . You have already received the answer. Plz don't repeat your own questions. https://www.sololearn.com/Discuss/3227371/?ref=app
20th Jul 2023, 2:50 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 2
AniZaTo Its the way sololearn deals with user input. If you want to display your savings do print(savings) before the balance. This will print your savings with the text on the same line and will create a new line for your balance. However if you dont want your balance to be on a new line you can print savings and message both like this. print(str(savings) + “ ” + message)
19th Jul 2023, 8:28 PM
Junior
Junior - avatar
+ 1
AniZaTo Check if this meets your requirement or not.👇 https://code.sololearn.com/cb4nG9IdXJPl/?ref=app
21st Jul 2023, 7:08 PM
Milad
Milad - avatar
0
check your indentations bro
20th Jul 2023, 1:33 PM
Boniface Ushie
Boniface Ushie - avatar
0
Yas I can help
21st Jul 2023, 9:44 AM
Lakshman Kumar
Lakshman Kumar - avatar