+ 3
By default the output prints in newline but if we want to print side by side then?
6 Antworten
+ 6
Hello,
Here is solution:
print(i, end="")
UPD: As Vaas said just use end="" :)
https://code.sololearn.com/cvq6XnN3yjPR/?ref=app
+ 3
Use the end parameter of the print function
print('Hello', end = '')
print('Python', end = '')
+ 2
Thank you
+ 1
You just need to add another atribut called end
print('hello', end="")
Normaly print have defult for end that prints new line
print(k, end="/n)