Avatar ·

How to split a number into digits

📁 Advanced Python Topics

There is a number 1234567.
How to split the number into digits with spaces to get 1 234 567?