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