Python Variable|pythonforbeginners|python full course|python full course in hindi|pythontutorial

Publicado el: 07 junio 2023
en el canal de: DataScienceBySuraj
172
4

Python Variable|pythonforbeginners|python full course|python full course in hindi|pythontutorial

In Python, a variable is an identifier that represents a memory location to store data. An identifier is a name given to entities in the code, such as variables, functions, classes, etc.

When it comes to variable names or identifiers in Python, there are a few rules to follow:

Variable names can contain letters (a-z, A-Z), digits (0-9), and underscores (_). They must start with a letter or an underscore.

Variable names are case-sensitive, meaning that "myVariable" and "myvariable" are considered different variables.

Python keywords cannot be used as variable names. Keywords are reserved words that have special meanings in Python and are used to define the language syntax. Examples of keywords in Python include "if," "else," "for," "while," "def," etc.


En esta página del sitio puede ver el video en línea Python Variable|pythonforbeginners|python full course|python full course in hindi|pythontutorial de Duración hora minuto segunda en buena calidad , que subió el usuario DataScienceBySuraj 07 junio 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 172 veces y le gustó 4 a los espectadores. Disfruta viendo!