Python For Beginners
Python is a high-level, easy-to-learn, interpreted language.
Used for web development, data analysis, AI, automation, and more.
File extension: .py
π 1. Introduction to Python
Python is a high-level, easy-to-learn, interpreted language.
Used for web development, data analysis, AI, automation, and more.
File extension:
.py
π 2. Basic Syntax
# This is a comment
print("Hello, World!") # Prints text to the screen
π€ 3. Variables and Data Types
name = "Souky" # string
age = 30 # integer
height = 5.4 # float
is_student = False # boolean
- You donβt need to declare data types β Python detects automatically.