I just began learning Python. I'm not sure how to insert tab in string. For instance, how can i insert tab to the right of "World" in the strings below:
example = ' Hello World'
Everytime I use Tab after "World" a drop down menu appears, how can I avoid that? thanks!
I tried using \t, but then
example.lstrip() gives the result of Hello World\t, instead of Hello World
Thanks for the answers. I used example = ' Hello World\t', it works.
print(example.lstrip()) gives the result: Hello World , without \t
lstripstrips the left only...stripstrips both sides.str.lstriponly strips whitespace off the left side, leaving the trailing\tintact.