[Python] Stripping Whitespace [closed]

Discussão em 'Python' iniciado por Stack, Abril 12, 2025.

  1. Stack

    Stack Membro Participativo

    I'm using VS Code on Linux, learning Python. I've been trying to strip the whitespace:

    favorite language = ("'python '")
    print(favorite language)
    print(favorite language.rstrip())


    When I ran this code, the Whitespace wasn't removed on the right side. What am I doing wrong?

    Continue reading...

Compartilhe esta Página