[PYTHON] Comment out

print('#######')
# test
"""
test
test
test
""""
print('#######')

If you want to comment over multiple lines

"""
test
test
"""

Enclose it in "" "like.

#A pple price
a_p = 100

It seems that comments are often written above in python.

Recommended Posts

Comment out
python comment out
Comment out multiple lines with csh
2015-03-25 python> Multi-line comment> Watch out for indent