You'll have to include the end="y" un every print statement . In the second print statement you wrote, you didn't include the end="y" and that's why you didn't get the y at the end of it.
I'm aware. This is your code, not mine. Your code does not currently include end="y\n" for the second line, just end="\n". However, you then show output with every line ending in a y: i.imgur.com/haIqpYx.png
You'll have to include the
end="y"
un every print statement . In the second print statement you wrote, you didn't include theend="y"
and that's why you didn't get they
at the end of it.I'm aware. This is your code, not mine. Your code does not currently include
end="y\n"
for the second line, justend="\n"
. However, you then show output with every line ending in ay
: i.imgur.com/haIqpYx.pngOh thanks 🤦 I hadn't notice it . I'm really sorry for this
No problem! Happy to help!