Loading
Loading
Before writing a single line of code, you need a proper working environment.
Python is the #1 language in the AI world:
| Feature | Detail | |---------|--------| | Readability | Syntax that reads like simple English | | Libraries | NumPy ยท Pandas ยท TensorFlow ยท PyTorch | | Community | Largest ML community in the world | | Job demand | 90%+ of Data Science roles require Python |
Colab is a cloud Jupyter Notebook from Google โ no installation, no setup, free.
print("Hello AI!") and press โถAdvantages: Free GPU ยท Pre-installed AI libraries ยท No RAM needed from your machine
Step 1: Download Python 3.11+ from python.org/downloads Enable โ Add Python to PATH during installation.
Step 2: Install VS Code from code.visualstudio.com + Python extension.
Step 3 โ Virtual Environment:
python -m venv ai-env
# Windows: ai-env\Scripts\activate
# Mac/Linux: source ai-env/bin/activate
pip install numpy pandas matplotlib scikit-learn
pip list
import sys, numpy as np, pandas as pd
print(f"Python: {sys.version}")
print(f"NumPy: {np.__version__} Pandas: {pd.__version__}")
print("Everything is ready! โ
")
# โ
ุงูุชุญูู ู
ู ุจูุฆุฉ Python
import sys
print(f"ุฅุตุฏุงุฑ Python: {sys.version}")
# ุชุซุจูุช ุงูู
ูุชุจุงุช ูู Colab (ุงูุฎููุฉ ุงูุฃููู ุฏุงุฆู
ุงู)
# !pip install numpy pandas matplotlib scikit-learn
try:
import numpy as np
import pandas as pd
import matplotlib
print(f"โ
NumPy {np.__version__}")
print(f"โ
Pandas {pd.__version__}")
print(f"โ
Matplotlib {matplotlib.__version__}")
print("
๐ ุจูุฆุชู ุฌุงูุฒุฉ ููุฐูุงุก ุงูุงุตุทูุงุนู!")
except ImportError as e:
print(f"โ ู
ูุชุจุฉ ูุงูุตุฉ: {e}")
print("ุดุบูู: pip install numpy pandas matplotlib")
name = "ู
ุจุฑู
ุฌ AI"
print(f"ู
ุฑุญุจุงู {name}! ุฑุญูุชู ูู Python ููู AI ุจุฏุฃุช ุงูุขู ๐")