Multi line comments in replit

**Question:**n the course I am following is mentioned that multiline text can be turned in comments by Command + / on my iMac, but it is not working

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

I wonder which programming language you are using?
Different language have different type of single/multi line comment syntax

I am learning Python, but I already found out that I had to use the / on the number part of my keyboard :grinning:

In Python you can also use triple quote marks like so:

"""my comments
on multiple lines"""

For me it’s a good way to comment out a bunch of code and it’s a different colour to the normal single line using # at the start of the line.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.