В чём проблема и как её решить? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

В чём проблема и как её решить?

https://code.sololearn.com/ccvP0KDdfNH1/?ref=app

21st May 2021, 7:08 PM
Alex
Alex - avatar
3 Answers
+ 1
To input 2 values you need to go on a new line (чтобы ввесты 2 значеня, тебе нужно писать в новой сроке) Example of input (пример ввода): Dima 22 Bad Example of input (Плохой пример ввода): Dima 22 also litter bit code improve (Немного улутшения кода) name = input( "Введите свое имя: \n") # add "\n" on a line to go in a new line, you need it, because SoloLearn don't do in on input age = input( "Укажите свой возраст: \n") # Same for name print("Привет, " + name + " !") # add space, so words will not be together print("Тебе уже " + age + " лет, это круто!!!") # add space, so words will not be together
22nd May 2021, 3:31 AM
Deyzze
Deyzze - avatar
0
Никаких проблем не вижу, у меня все нормально.
21st May 2021, 7:10 PM
Dino Wun (Use the search bar plz!)
Dino Wun (Use the search bar plz!) - avatar
0
Мне ошибку выбивает
21st May 2021, 9:11 PM
Alex
Alex - avatar