In this video we'll learn about Variable.
What is Variable?
Variable is a Name of memory location that we use for storing the data.
Rules for Naming Variables
1. Variables are case-sensitive i.e. name & Name both are different.
2. Variables cannot be a keyword.
3. Whitespaces are not allowed .
ex: first name='jaggytech' #Invalid variable (we can't use whitespace)
4. we can not use special symbols like @,#,$,! etc.
5. Variables can have a sequence of letters and digits. but, it must begin with a letter or underscore(_).
6. The first letter of a Variable cannot be a digit.
Watch video Variable in Python | JaggyTech online without registration, duration hours minute second in high quality. This video was added by user JaggyTech 19 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2 once and liked it people.