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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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