how to strip white spaces in python without using a string method?,""""""""""""".join(str(x) for x in range(1, N + 1))"