+ 1

What this year should look like

You can't do it right https://code.sololearn.com/cjDAy2XgmFFj/?ref=app

12th Nov 2020, 8:27 PM
‎ Герман Папанов(הרמן פפנוב)‎
‎ Герман Папанов(הרמן פפנוב)‎ - avatar
7 Respostas
+ 13
I assume that you have a problem with input in playground. The code itself is working properly. To input the 2 values you will be prompted by an input window to enter your values. This has to be done in 2 separate lines like: 8 5 then press submit. The result will be shown = 13. A comment to your code: You don't need to use int() in the following line, because you converted values already directly with the int(input() function. sum = int(a) + int(b)
12th Nov 2020, 9:12 PM
Lothar
Lothar - avatar
+ 3
If you mean output on 2 separate lines then add "\n" new line charecter like print("first line\n second line") #output 2 lines.
12th Nov 2020, 9:35 PM
Jayakrishna 🇮🇳
+ 1
What mistakes do I make?
12th Nov 2020, 8:28 PM
‎ Герман Папанов(הרמן פפנוב)‎
‎ Герман Папанов(הרמן פפנוב)‎ - avatar
12th Nov 2020, 9:07 PM
Jayakrishna 🇮🇳
+ 1
And how to make it so that every number in the video is taken out of the new line For example, when I type 10 it's 1 input I have to be "this first number: Then I type 2 number for example 20, but it also comes out with the same line as " And the "result" is also displayed on the same struts
12th Nov 2020, 9:29 PM
‎ Герман Папанов(הרמן פפנוב)‎
‎ Герман Папанов(הרמן פפנוב)‎ - avatar
+ 1
yes
12th Nov 2020, 9:36 PM
‎ Герман Папанов(הרמן פפנוב)‎
‎ Герман Папанов(הרמן פפנוב)‎ - avatar
+ 1
‎ Герман Папанов yes means hoping you got the solution...
12th Nov 2020, 9:42 PM
Jayakrishna 🇮🇳