Subscribe to our channel For more Updates.
/ @techemistry1733
Follow Us On Instagram For Updates.
/ cognitive_solution_
In this video we will see :
Different Types of Comments
Data types in Python
Introduction to Python comments
Sometimes, you want to document the code that you write. For example, you may want to note why a piece of code works. To do it, you use the comments.
Typically, you use comments to explain formulas, algorithms, and complex business logic.
When executing a program, the Python interpreter ignores the comments and only interprets the code.
Python provides three kinds of comments including block comment, inline comment, and documentation string.
single-line comment
A single-line comment begins with a hash (#) symbol and is useful in mentioning that the whole line should be considered as a comment until the end of the line.
Multi-line comment
Multi-line comment is useful when we need to comment on many lines. You can also use a single-line comment, but using a multi-line instead of single-line comment is easy to comment on multiple lines.
In Python Triple double quote (""") and single quote (''') are used for Multi-line commenting. It is used at the beginning and end of the block to comment on the entire block. Hence it is also called block comments.
Data types are an essential concept in the python programming language. In Python, every value has its own python data type. The classification of data items or to put the data value into some sort of data category is called Data Types. It helps to understand what kind of operations can be performed on a value.
Built-in Data Types in Python
Binary Types: memoryview, bytearray, bytes
Boolean Type: bool
Set Types: frozenset, set
Mapping Type: dict
Sequence Types: range, tuple, list
Numeric Types: complex, float, int
Text Type: str
....
Comments and Data Types in Python
data Types in Python
what is comment in python
what are different data type in python
what are different comments in python
python comments multiline
python comments start with
python comments definition
python comments type
python comments for functions
python comments multiple lines
python comment line
python comments and docstrings
python comments above or below
python comments after line continuation
python comments and documentation
python comments at end of line
python comments above function
python comments arguments
what is a python comments
python comments block
python comments best practices
python block comment example
python better comments
python comments column
python data types
python data types ppt
python data types size
python data types examples
python data types float
python datatypes of columns
python data types date
python data types list
python data types and variables
python data types and data structures
python data types and sizes
python data types and their sizes
python data types and operations
python data types assignment
python data types are immutable
python data types and data structures in iot
data types in python
python data types bytes
python data types binary file
python data types binary
python basic data types
python data types difference
python data types documentation
python data types double
Watch video Comments and Data Types in Python | How To Write Comments In Python | Python Tutorial PART 3 online without registration, duration hours minute second in high quality. This video was added by user teCHemistry 23 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14 once and liked it 1 people.