0% found this document useful (0 votes)
2 views3 pages

Python Lesson - 3 Note

This document provides an introduction to variables in programming, specifically focusing on their definition and naming conventions. It outlines the rules for naming variables, including allowable characters, case sensitivity, and restrictions against using Python keywords. Understanding these rules is essential for effective coding in Python.

Uploaded by

learncs48
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Python Lesson - 3 Note

This document provides an introduction to variables in programming, specifically focusing on their definition and naming conventions. It outlines the rules for naming variables, including allowable characters, case sensitivity, and restrictions against using Python keywords. Understanding these rules is essential for effective coding in Python.

Uploaded by

learncs48
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Home Service About Us Contact

Lesson-3
Understanding Variables
Home Service About Us Contact

What is a Variable?

25
age
Home Service About Us Contact

Rules for Naming Variables


Names can have letters, numbers, and underscores (_).
Names can’t start with a number. (Example: 1name is invalid.)
Python is case-sensitive — age and Age are different.
Avoid Python keywords like if, print, or list.

You might also like