So guys, I've been trying to print a string horizontally in the following case, which I iterate through the string and then, I print it. But it doesn't print horizontally. Instead, it prints vertically. My code:
Python Version 2.7.10
for word in "Monty Python":
print word
The output is:
M
o
n
t
y
P
y
t
h
o
n
I need your help! Thanks in advance!