Rules to Write a Variable Name in Python (Hindi) | The Learning Setu

Publicado el: 13 octubre 2020
en el canal de: Coding Chaska
841
21

There are many rules we have to follow while writing a variable name. Rules are given below -

1) A variable name can be a combination of letters in lowercase (a to z) or uppercase (A to Z) or digits (0 to 9) or an underscore _
2) A variable cannot start with a digit.
3) Keywords cannot be used as a variable name.
4) We cannot use special symbols like !, @, #, $, % etc. in a variable name.
5) A variable can be of any length.

Important Note - Same rules will be applicable to function name, class name, module name. No need to worry about them for now, we will discuss them later.
Important Note - Python is a case-sensitive language.

Google Colab Notebook - https://drive.google.com/file/d/1IAbC...

Website - https://www.thelearningsetu.com
Youtube -    / thelearningsetu  
Facebook -   / thelearningsetu  
Twitter -   / thelearningsetu  
Instagram -   / thelearningsetu  
Telegram - https://t.me/thelearningsetu

Thanks for watching


En esta página del sitio puede ver el video en línea Rules to Write a Variable Name in Python (Hindi) | The Learning Setu de Duración hora minuto segunda en buena calidad , que subió el usuario Coding Chaska 13 octubre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 841 veces y le gustó 21 a los espectadores. Disfruta viendo!