+ 1

Print("fibonacci" , end = " " )

Here, finishing line of this code is written (,end = " ")... what is the meaning of this code?

30th Jun 2021, 2:59 PM
Md Nazim Uddin Sagor
Md Nazim Uddin Sagor - avatar
2 ответов
+ 4
By default end="\n" that is why you get a new line after every print. Example, print("hello") print("world") Output: hello world Now, end = " " means a space after the print is done. Example, print("hello", end= " ") print("world") Output: hello world
30th Jun 2021, 3:17 PM
minirkk
minirkk - avatar
+ 2
Thank you
30th Jun 2021, 3:39 PM
Md Nazim Uddin Sagor
Md Nazim Uddin Sagor - avatar