Welcome to this Python Programming Tutorial! 🚀
In this video, we’ll explore two of the most fundamental concepts in Python: Identifiers and Keywords.
🔑 What you’ll learn in this tutorial:
✔️ What are Identifiers in Python?
✔️ Rules for naming Identifiers
✔️ What are Keywords and why they are special
✔️ Complete list of Python Keywords
✔️ Hands-on Code Walkthrough with Examples
💻 Code Walkthrough Includes:
Valid and Invalid Identifiers
Case sensitivity in identifiers
Using underscores in variable names
Difference between keywords and identifiers
Printing Python keywords dynamically using keyword module
📌 Sample Code (to show in video)
Identifiers Example
name = "Latha"
age = 23
print(name, age)
Invalid Identifier (will throw error if uncommented)
2name = "Python"
Using underscore in identifiers
_student_name = "Ravi"
print(_student_name)
Case sensitivity
Value = 100
value = 200
print(Value, value) # Different identifiers
Keywords Example
import keyword
print("Python Keywords are:")
print(keyword.kwlist)
Trying to use a keyword as identifier (Error)
class = "Hello"
✨ By the end of this tutorial, you’ll clearly understand how identifiers and keywords work in Python, and how to use them correctly in your programs.