+ 3
(Assuming Python)
In Python print function by default writes out its argument followed by a line break, so next print function call output will be written on a new line (row), by passing end='' you specifically tell print function not to insert line break following the argument.
The \n is a line break (new line) escaped character, it is used to define that whatever comes after the \n should be written on a new line (row), for example:
print("This is SoloLearn")
output:
This is SoloLearn
print("SoloLearn\nEveryone can code")
output:
SoloLearn
Everyone can code
print("Today's menu:")
print("Spaghetti code")
output:
Today's menu:
Spaghetti code
print("Today's menu:", end="")
print("Spaghetti code")
output:
Today's menu:Spaghetti code
Hth, cmiiw