Commenting in Python (Multi-line) 🐍

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • In this video, I will show you how to comment in Python. Comments are used to tell the compiler to ignore one or more lines of code. Commenting also allows other people to understand what your code does, and it is a great wait to show you explanations. There are two ways to comment in Python. One way is to use the hastag symbol #, and the other way is to use the triple single quotes for multi lines comments, or commenting multiple lines.
    You can find my 1 hour course on learning Python: • Python for Beginners -...

Komentáře • 2

  • @opinionrat
    @opinionrat Před 4 měsíci +1

    This helpful in that I never looked up multi line remarks. I noticed that multi line remarks have to adhere to indention rules.

    • @QuocDatPhung
      @QuocDatPhung  Před 4 měsíci +1

      Thank you OpinionRat! You can find my full 1 hour Python in 2024 video here: czcams.com/play/PLeTO6OT3-FKnRuP8j_qr-hrfSUqh0sqdx.html