how to append element on the same line in a list?
I am trying to append the element by using .append() method but every time it is appending on the next line instead of same line.
I am trying to append the element by using .append() method but every time it is appending on the next line instead of same line.