Hi, i need to know how to comment multiple lines in python
Python doesn’t have any particular syntax for multiline comments. Either use your editor to add # marks at the beginning of every line in a region, or use triple-quoted strings, e.g.
import this
# The following lines are "commented out".
"""
print(this)
print(dir(this))
"""
import sys
The string is just evaluated and thrown away.