value = int(input("write a number: "))
t = []
i = 0
for i in value:
i += 1
t.append(i)
string = " ".join([str(i) for i in t])
print(string)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter