0 votes
in General Knowledge by (744k points)
how to comment out multiple lines in python

1 Answer

0 votes
by (744k points)
 
Best answer
To make single-line comments in Python, prepend each line with a hash (#).

# print("Hello world")

print("Hello campers")
Output:

Hello campers
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.
...