Python Beginner Notes ✍️
Easy Language | Handwritten Style | For Beginners
# Python History and Introduction ὀ
Python was created by Guido van Rossum in 1991.
It is an interpreted, high-level, and general-purpose programming language.
Python is known for its simplicity and readability.
# Why Learn Python?
1. Easy to learn and use.
2. Open-source and free.
3. Huge community support.
4. Works on many platforms.
5. Used in AI, Data Science, Web Development, etc.
# Python Features ✨
- Simple and readable syntax
- Object-Oriented
- Interpreted language
- Large standard library
- Portable and extensible
# Python Syntax Basics ᾟ
Example:
>>> print("Hello, Python!")
Output: Hello, Python!
# Variables and Data Types ᾞ
Variables store data. Example:
x = 10
name = "Alice"
price = 99.5
Common Data Types:
int, float, str, bool, list, tuple, dict
# Operators ➕➖✖️➗
Arithmetic: +, -, *, /, %, **
Comparison: ==, !=, >, <, >=, <=
Logical: and, or, not
# Conditional Statements ὐ
if condition:
code
elif condition: