I would ike to make a string with digits like this: 123456789.
I can write this easily with a for loop.
x = ""
for i in range(1, 10):
x += str(i)
However, I would like to write this with no explicit for loops.
Are there any creative ways, to do this?
x = '123456789'will be some kind of a loop, even if not an explicit one that you can see