Introduction to Python¶
Welcome to Python basics!
What is Python?¶
Python is a high-level, interpreted programming language known for its simplicity and readability. It is widely used in web development, data science, automation, artificial intelligence, and more.
Key Features of Python¶
- Easy to Learn: Python has a clean and readable syntax.
- Versatile: Can be used for various applications, from web apps to machine learning.
- Extensive Libraries: Rich ecosystem of packages for every need.
- Cross-platform: Runs on Windows, macOS, and Linux.
Basic Syntax Example¶
```python
This is a comment¶
print("Hello, World!")
Variables¶
name = "Alice" age = 25
Conditional statement¶
if age > 18: print(f"{name} is an adult.") else: print(f"{name} is not an adult.")