חלקPart 1: יסודותFoundations
כ-3 שעות (כולל הפסקה)About 3 hours (with a break)
טיפוסים ומספריםTypes & numbers
int, float, bool, המרות בין טיפוסים, עיגול, ומה קורה כשמערבבים.
int, float, bool, converting between types, rounding, and what happens when you mix them.
איך מריצים את הקוד של המפגשRunning this session's code
כל דוגמה בהרצאה וכל תרגיל אפשר להריץ ישירות בדפדפן עם הכפתור הרצה. כדי לעבוד במחשב: יוצרים קובץ .py בתיקיית הקורס ב-VS Code, מדביקים, שומרים ומריצים.
Every lecture example and exercise runs right in the browser with the Run button. To work on your computer: create a .py file in the course folder in VS Code, paste, save and run.
| פעולהAction | MacMac | WindowsWindows |
|---|---|---|
| הרצת קובץRun a file | python3 file.py | python file.py |
פתרון בעיותTroubleshooting
| בעיהProblem | סיבהCause | פתרוןFix |
|---|---|---|
| הכפתור הרצה בדפדפן לא עובדThe browser Run button does nothing | Python בדפדפן נטען מהאינטרנט בלחיצה הראשונהPython in the browser loads from the internet on first click | בודקים חיבור לאינטרנט ומחכים כמה שניות. אפשר תמיד להריץ ב-VS CodeCheck the connection and wait a few seconds. You can always run it in VS Code |