Why, when trying to output a phrase from functions in the "print", it is output from a new line?¿ | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Why, when trying to output a phrase from functions in the "print", it is output from a new line?¿

When you try to output a phrase from a function through the "print" it is displayed in this line, how can I fix this in this code https://code.sololearn.com/c6Dl3V5RBZwV/?ref=app

11th Jan 2018, 1:00 PM
Тимофей TreShk0
Тимофей TreShk0 - avatar
1 ответ
+ 1
print automatically adds new line after the text you print to avoid this do print(phrase, end="")
11th Jan 2018, 3:01 PM
michal