In Python, the hash character(#) is used to comment on the line. Single-line comments in Python do not have to be text alone to explain the code, they can also be used to prevent Python from executing code. The hash character should be placed before each line to be considered as multiline comments in Python.
Shathana. S.R. Answered question July 7, 2023
