I want to print 2 string vertically. I tried using for loop but wasnt very successful. So I would be glad if there was like a print to previous line as well.
x=input("enter something")
y=input("enter something:")
for x in x:
for z in y:
print(x,z,sep=' ')
I tried this way to try and print:-
H H
e i
l
l
o
btw these are different strings and I entered Hello and Hi as the different str. later I used break after print as well but it would print out:-
H H
H i
e H
e i
l H
l i
l H
l i
o H
o i