How to split 1 number into a list? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to split 1 number into a list?

How can I split 1 number into a list? If possible please help.

4th Jun 2021, 12:17 AM
Ailana
Ailana - avatar
1 Answer
+ 6
See my answer in your other thread. list(str(number)) If this isn't what you mean, please give a better description with examples.
4th Jun 2021, 12:25 AM
ChaoticDawg
ChaoticDawg - avatar