Mar-03-2021, 09:48 PM
This has been bugging me for a long time. The output has the first line shifted one space to the right. How to avoid the extra space?
x =[1, 2, 3] print('\n',x) print(x)
Output: [1, 2, 3]
[1, 2, 3]