[Python] In Python, how are triple quotes (""") considered comments by the IDE?

Discussão em 'Python' iniciado por Stack, Dezembro 19, 2024.

  1. Stack

    Stack Membro Participativo

    My CS teacher told me that """ triple quotations are used as comments, yet I learned it as strings with line-breaks and indentations. This got me thinking - does python completely triple quote lines outside of relevant statements?

    """is this completely ignored like a comment"""


    or, is the computer actually considering this?

    Continue reading...

Compartilhe esta Página