a=‘’‘Hello
Dylan’‘’
b=‘Hello\nDylan’
for i in a:
print(i)
While running this code in both the cases I got the following output;
H
e
l
l
o
.
.
D
y
l
a
n
My question is that wile iterating through this string why in output 2 blank lines are left between Hello and Dylan instead of 1. is the new line character i.e. \n considered as the size of 2 or is it something else?