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

Veröffentlicht am: 13 Oktober 2020
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Rules to Write a Variable Name in Python (Hindi) | The Learning Setu mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coding Chaska 13 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 841 Mal angesehen und es wurde von 21 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!