lecture 06 comments in python || Types of comments || Skill College || Muhammad Ali
Автор: Skill College
Загружено: 2024-04-29
Просмотров: 29
Описание:
About this video
In Python, comments are used to add explanations or notes within the code to make it more readable for developers. Python supports two types of comments:
1. Single-line comments: These comments begin with the hash (#) symbol and continue until the end of the line. Anything after the # symbol on the same line is considered a comment and is ignored by the Python interpreter.
2. Multi-line comments: Python doesn't have a built-in syntax for multi-line comments like some other programming languages. However, multi-line strings (docstrings) enclosed in triple quotes (''' or """) are often used for this purpose. While they are not technically comments, they serve the same purpose because they are not executed by the interpreter.
Queries about this video.
python comments
comments in python
python
python programming
learn python
comments
python tutorial
comments in python 3
how to write comments in python
comments python
python comments example
python comments examples
python comments shortcut
how to use comments in python
python comment block
multiline comments in python
python for beginners
python basics
Skill College
python tutorial for beginners
python 3 comments
Sindhi lecture
python comments block
python course
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: