How to Write in Same Line in Python

Hello All,

It will be a bit weird question. How we write the code without passing to the next line
For example the one below , it writes the code on 15 and then when enter it still at line 15. But when I do not in the terminal, it just directly skips to line 16. Can you help

image

You can enlarge the terminal window. perhaps that would make the code appear all on one line(?) To accomplish this: with your cursor, hover of the edge of the middle window, the terminal and you should see an arrow to enlarge the window.
I think the reason the code runs into the next line is so that one doesn’t have to scroll to see the line of code.

1 Like