What are comments in Python?

Comments

Comments in Python are the typings by the programmer, which he doesn't want to be considered as a code.
These can be the name, date, etc., or anything that a programmer wants to write.


Two types of comments

  1. Single line - using #
  2. multi-line - using - '''


Also Read

Post a Comment