[Python] make space in a list with string

Discussão em 'Python' iniciado por Stack, Fevereiro 18, 2025.

  1. Stack

    Stack Membro Participativo

    Hi is there any function that takes a list

    ['-x','+2x','-3x']

    and makes a space after the operators like this

    ['- x','+ 2x','- 3x']

    Thanks in advance!

    Continue reading...

Compartilhe esta Página