What will be the output of following program ?
def display(): print("Hello", end='') display() print("there!")
Hellothere!
The function display prints "Hello" without a newline due to the end='' parameter. When called, it prints "Hello". Outside the function, "there!" is printed on the same line due to the absence of a newline.