[Python] Tabs in print are not consistent python

Discussão em 'Python' iniciado por Stack, Maio 24, 2025.

  1. Stack

    Stack Membro Participativo

    I want to have real tabs in a print but \t only puts spaces. Eg:

    first:ThisIsLong second:Short
    first:Short second:ThisIsLong
    first:ThisIsEvenLonger second:Short


    How would i fix it so i can have all the firsts and all the seconds lined up. Eg:

    first:ThisIsLong second:Short
    first:Short second:ThisIsLong
    first:ThisIsEvenLonger second:Short

    Continue reading...

Compartilhe esta Página