How do i insert multi-line comments in a python



  • In a program file, you can have single line comments or multi-line comments.

    To insert multi-line comments in python, using the triple-double quotes

    """
    This is a multi-line comment.
    This is an explanation about boolean.
    """
    

Log in to reply
 

© Lightnetics 2024