+ 1

What is use in "end" keyword

it is print to horizontal lines

11th Mar 2018, 3:00 AM
VikramReddy
VikramReddy - avatar
1 Resposta
+ 5
"end" keyword in the print() function defines the whitespace used between multiple strings used in print(). The default value of "end" is "\n". For example: print("Hello", "world!", end=" ") print("This", "is", "python.", end=" ") will print "Hello world! This is python."
11th Mar 2018, 3:10 AM
777
777 - avatar