Читать книгу Introduction to Python Programming for Business and Social Science Applications - Frederick Kaefer - Страница 44

Comments

Оглавление

Comments are very important for documenting Python code. Comments in Python code begin with a pound sign (#), and the interpreter does not process them. Comments explain how the code works for those reading the code and can be an entire line or just a note at the end of a line of code. Multiple line comments (also known as documentation strings) can be written beginning with three quotes (“““) and ending with three quotes.

Introduction to Python Programming for Business and Social Science Applications

Подняться наверх