Spark notebooks sometimes output only single line. I dont see this behavior with python notebooks

#1

Eg: print(“hello”)
print(“hello”)
print(“hello”)

Output : hello