4 odpowiedzi
+ 6
If you write a comment in a line with a code, you must write a comment, leaving 2 spaces before the # sign and 1 space before the # sign
print("Hello World") # printing
If you write a comment on a new line, you must write a comment, leaving 1 space kn in the # sign
# single line comment
"""
This is a comment
written in
more than just one line
"""
# like!!!
+ 4
# single line comment
""" use delimiter for
multiple line
Comment """
+ 3
by putting '#' in front of the line
+ 3
using #.