answersLogoWhite

0


Best Answer

#LMGTFY

The '#' symbol, known as the "hashtag", "number sign", or "pound sign" is the single line comment character.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the symbol to represent comments in python?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you open a python script on the mac terminal?

python filename.py


How do you open a Python program with MS-DOS?

open MS-DOS in the directory you have the python file in. type "python [INSERTNAMEOFSCRIPT]"


Where can one download a free Python tutorial?

The only place you can get a legitimate trial of the software Python is from Python's official site. Other downloads may contain virus or other malicious software.


How do you add programme comments?

It depends on the language. In most cases a remark or comment is denoted by a token or symbol such that the remainder of that line is ignored by the language compiler or interpreter. That is, the comment extends to the end of the line it appears on (known as a single-line comment). However, some languages require that comments be placed on a separate line, by themselves, including BASIC which traditionally opens a comment with the keyword REM (short for remark). In C, comments are enclosed in paired delimiters, beginning with /* and ending with */. This convention allows comments to extend across multiple lines as well as to insert comments inside code statements. Languages derived from C, including C++ and C#, also use this convention (known as a C-style comment), but they also allow single-line comments beginning with a // (double-slash) token. Java uses the same syntax as C++ and therefore uses the same comment style. Some languages use the # (pound) symbol to begin a comment while Visual Basic uses a ' (apostrophe). Additional information on comments can be found in your language documentation.


Who created the Python programming language?

#LMGTFY Guido van Rossum, a Dutch computer programmer is the author of the programming language Python. Among Python programmers and the Python community, van Rossum us known as the "Benevolent Dictator For Life" (BDFL).