Python3 comments


  Translation results:

The 3.0 version of Python is often called Python 3000, or Py3k for short. This is a major upgrade compared to earlier versions of Python. In order not to bring too much burden, Python 3.0 was not designed with backward compatibility in mind.

Python3 commentssyntax

Make sure to use the correct style for modules, functions, methods and inline comments

Comments in Python have single-line comments and multi-line comments

Python3 commentsexample

#!/usr/bin/python3 '''
This is a multi-line comment, enclosed in three single quotes
This is a multi-line comment, use three single quotes
This is a multi-line comment, enclosed in three single quotes
'''print("Hello, World!")

Popular Recommendations

Home

Videos

Q&A