Lesson - 12 : Python3 - Python Comments смотреть онлайн
**************************************************
Python Core PlayList : https://www.youtube.com/watch?v=_laUbUtzMOs&list=PLxWzQv_1I_ACFomYYjF0HMqmu-w2pyqta
Python Advanced PlayList : https://www.youtube.com/watch?v=RSKv-gSKrpA&list=PLxWzQv_1I_ACjp_DGDwHlTZlndqi4cu0_
**************************************************
Python Comments:
Comments are very important while writing a program. It describes what's going on inside a program so that a person looking at the source code does not have a hard time figuring it out. You might forget the key details of the program you just wrote in a month's time. So taking time to explain these concepts in form of comments is always fruitful.
Python block comments : A block comment is indented at the same level as the code block. To write a block comment, you start with a single hash (# ) sign followed by a single space and comment.
Python inline comments : If a comment is placed on the same line as a statement, it is called an inline comment. Similar to the block comment, an inline comment begins with a single hash (# ) sign and followed by a space and comment.
Python documentation string or docstrings : A documentation string is a literal string that you put as the first statement in a function, module, class, or method definition. Different from a regular comment, documentation string can be accessed at run-time using obj.__doc__ attribute where obj is the name of function, module or class, etc.
One-line docstrings : One-line docstring fits in one line begins with triple quotes and ends with triple quotes. There should not have a blank line either before or after the one-line docstring.
Multi-line docstrings : As its name implies, multi-line docstring can span multiple lines. Just like one-line docstring, the first line of multi-line docstring is a summary, followed by a blank line and of course more descriptions underneath.
Sample Projects : https://github.com/SadaLearningHub1/Python3-Core-And-Advanced-Examples
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Lesson - 12 : Python3 - Python Comments» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.