דלג לתוכן
למד לתכנת — Python, Java, C, SQL ואתרים

בסיסי Python

הצעדים הראשונים שלך בתכנות — אין צורך בניסיון קודם.

  • פייתון
  • 22 שיעורים
  • 6 projects
  • 15 videos
  • פועל בדפדפן שלך

במכשיר זה: הושלמו 0 מתוך 22 שיעורים

התחל את הקורס

כל שיעור מתבצע בדפדפן שלך — כתוב קוד אמיתי, לחץ על הפעל, והמשימות יבדקו את עצמן. חינם, ללא צורך בחשבון, עם הערות מותרגמות לצד האנגלית.

שיעורים בקורס זה

מוצגים 26 מתוך 26 שיעורים

Part 1 You build: Project: Mad Libs

  1. הרץ אותו! הכפתורים · כאשר משהו הולך לאחור · כאשר תוכנית מחכה לך Lesson 0 · 3 משימות נדרשות · ★
  2. התוכנית הראשונה שלך Show text with print · Strings · Comments Lesson 1 · 3 משימות נדרשות · ★ וידאו
  3. משתנים A box with a name · Make a variable · Naming rules · Change a variable Lesson 2 · 3 משימות נדרשות · ★ וידאו
  4. מספרים ומפעילים Two kinds of number · Add, subtract, multiply, divide · Whole-number division, remainder, powers · Order of operations Lesson 3 · 3 משימות נדרשות · ★ וידאו
  5. קבלת נתונים Ask the user with input · When your program waits · input always gives a string · Turn text into a number Lesson 4 · 3 משימות נדרשות · ★ וידאו
  6. עבודה עם מחרוזות Letters have positions · Take a slice · Length and changing case · f-strings build text Lesson 5 · 4 משימות נדרשות · ★★ וידאו
  7. פרויקט Project: Mad Libs Collect the words · Change a word · A title with a line under it פרויקט · ★★

Part 2 You build: Project: Guess the number

  1. קבלת החלטות Making a choice · Comparisons · if / elif / else · The remainder Lesson 6 · 4 משימות נדרשות · ★★ וידאו
  2. ספירות במחזוריות Repeat with for · Counting with range · Build a total (accumulator) · Words and a number on one line Lesson 7 · 4 משימות נדרשות · ★★ וידאו
  3. לולאות While Loop while a condition is true · Always change the condition · break and continue · Checking before or after Lesson 8 · 3 משימות נדרשות · ★★ וידאו
  4. פרויקט Project: Guess the number One guess · Keep guessing · Print the count · The sentence פרויקט · ★★★

Part 3 You build: Project: Quiz with a score

  1. Lists (1-D arrays) A list holds many values · Get and change items · Add items and count them · Loop over a list Lesson 9 · 3 משימות נדרשות · ★★ וידאו
  2. פרויקט Project: Quiz with a score Two lists that match · Keep the score · Forgive the typing פרויקט · ★★★

Part 4 You build: Project: Rock, paper, scissors

  1. פונקציות Name a block of code · Give it inputs (parameters) · Send back a result (return) · return vs print Lesson 10 · 3 משימות נדרשות · ★★ וידאו
  2. פרויקט Project: Rock, paper, scissors Who wins? · Functions can use functions · Check what the player typed · Play for real פרויקט · ★★★

Part 5 You build: Project: Text adventure

  1. תחום חלון ופרמטרים Local variables · Global variables · Default values · How arguments are passed Lesson 11 · 4 משימות נדרשות · ★★★ וידאו
  2. Dictionaries (records) Store data by name · Get and set values · A dictionary as a record · Check and loop Lesson 12 · 3 משימות נדרשות · ★★★ וידאו
  3. פרויקט Project: Text adventure A dictionary inside a dictionary · Is there a door? · Follow a list of directions · Play for real פרויקט · ★★★★

Part 6 You build: Project: Hangman

  1. תכנון וקוד פסאודו Plan before you code · Decomposition · Abstraction · Structured English Lesson 13 · 3 משימות נדרשות · ★★ וידאו
  2. שגיאות ובדיקות Three kinds of error · Syntax errors · Runtime errors · Logic errors Lesson 14 · 3 משימות נדרשות · ★★★ וידאו
  3. לחבר הכל יחד The plan · Handy built-ins for lists · A pattern you will reuse: count items that pass a test Lesson 15 · 3 משימות נדרשות · ★★★ וידאו
  4. פרויקט Project: Hangman Plan first · Build a string letter by letter · Stop as soon as you know · The game loop פרויקט · ★★★★

קריאה ומשאבים

  1. היסטוריה קצרה של פיתון Where Python came from · Why the funny name · Built for people to read · Python today קריאה ומשאבים
  2. למה משתמשים ב-Python What people build with Python · Websites and apps · Data, AI, and science · Automation קריאה ומשאבים
  3. איפה ללמוד עוד משחק והתאמנו · קראו וייעזרו · עוד קורסים באתר זה · טיפ קריאה ומשאבים
  4. הגדר את המחשב שלך Run Python on your own computer · Step 1 — Install Python · Step 2 — Install VS Code · Step 3 — Add the Python extension קריאה ומשאבים
Open the Python reference Every topic in one place, with short examples you can run.

איפה ללמוד עוד

היכנס או צור חשבון

IGCSE, A-Level & AP