[Python] How to split an integer into a list of digits?

Discussão em 'Python' iniciado por Stack, Junho 1, 2025.

  1. Stack

    Stack Membro Participativo

    Suppose I have an input integer 12345. How can I split it into a list like [1, 2, 3, 4, 5]?

    Continue reading...

Compartilhe esta Página