Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

how to comment many lines in python

Donald Duck answered on November 17, 2019 Popularity 9/10 Helpfulness 1/10

Contents


More Related Answers

  • multiline comment python
  • multiline comment python
  • comment multiple lines in python shortcut
  • comment out a block in python
  • how to make a comment python
  • python comment block
  • python multiline comment
  • python multiline comment
  • comment multiple lines python shortcut
  • python multi comment
  • python multi-line comments
  • muliline comment in pyhton
  • how to make a comment in python
  • how to make a comment in python
  • how to make a comment in py
  • Example of Single-line comment in Python
  • python multiline comment
  • Python comment block
  • Python comment block
  • How to add a multi-line comment in python
  • comment all selected lines in python
  • Multi-line comments Python Example
  • Single line Commenting in Python
  • Example of Python Inline comments

  • how to comment many lines in python

    0
    Popularity 9/10 Helpfulness 1/10 Language python
    Source: Grepper
    Tags: lines python
    Link to this answer
    Share Copy Link
    Contributed on Mar 11 2021
    Donald Duck
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    15
    Popularity 10/10 Helpfulness 4/10 Language python
    Source: Grepper
    Tags: lines line
    Link to this answer
    Share Copy Link
    Contributed on Nov 17 2019
    Blacksmith Plover
    0 Answers  Avg Quality 2/10

    6
    Popularity 10/10 Helpfulness 4/10 Language python
    Tags: line
    Link to this answer
    Share Copy Link
    Contributed on Apr 24 2020
    Bewildered Barracuda
    0 Answers  Avg Quality 2/10

    5
    Popularity 10/10 Helpfulness 3/10 Language python
    Source: Grepper
    Tags: multiline mult
    Link to this answer
    Share Copy Link
    Contributed on Nov 19 2020
    PhenXfeyr
    0 Answers  Avg Quality 2/10

    3
    Popularity 10/10 Helpfulness 3/10 Language python
    Source: Grepper
    Tags: multiline mult
    Link to this answer
    Share Copy Link
    Contributed on Jan 16 2021
    coderbisht
    0 Answers  Avg Quality 2/10

    0

    In Python, you can comment multiple lines of code using either triple quotes or the "#" symbol at the beginning of each line.

    Using triple quotes or using the "#" symbol: 

    Note that triple quotes can also be used to create multi-line strings, so make sure you don't confuse the two. If you want to comment out multiple lines of code, it's best to use the "#" symbol. 

    Popularity 9/10 Helpfulness 2/10 Language python
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 28 2023
    V Azevedo
    0 Answers  Avg Quality 2/10

    1
    Popularity 10/10 Helpfulness 1/10 Language python
    Source: dbader.org
    Tags: lines line
    Link to this answer
    Share Copy Link
    Contributed on Nov 11 2021
    Gifted Gannet
    0 Answers  Avg Quality 2/10

    -1
    Popularity 10/10 Helpfulness 1/10 Language python
    Source: Grepper
    Tags: lines line
    Link to this answer
    Share Copy Link
    Contributed on Jul 22 2022
    Colorful Cassowary
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.