381,432 views
13 votes
13 votes
# is used for single line comment and triple quotes(‘ ' ' or " " " ) are used for multiline comments. true or false

User Lowds
by
2.6k points

1 Answer

15 votes
15 votes

Answer:

False

Step-by-step explanation:

In Python the symbol # is used for a single line comment, but it is the only way to comment anything in this language. Triple quotes are not for comments, instead they are used in order to easily implement multi line strings into your code without having to create various one-line strings. However triple quotes will never comment out the information in between the quotes. Therefore, the statement being made is ultimately false.

User Martin Gordon
by
2.8k points