בסיסי Python
הצעדים הראשונים שלך בתכנות — אין צורך בניסיון קודם.
- פייתון
- 22 שיעורים
- 6 projects
- 15 videos
- פועל בדפדפן שלך
במכשיר זה: הושלמו 0 מתוך 22 שיעורים
כל שיעור מתבצע בדפדפן שלך — כתוב קוד אמיתי, לחץ על הפעל, והמשימות יבדקו את עצמן. חינם, ללא צורך בחשבון, עם הערות מותרגמות לצד האנגלית.
שיעורים בקורס זה
מוצגים 26 מתוך 26 שיעורים
אין שיעורים התואמים. נקה את החיפוש או בחר מסנן אחר.
Part 1 You build: Project: Mad Libs
- הרץ אותו! הכפתורים · כאשר משהו הולך לאחור · כאשר תוכנית מחכה לך Lesson 0 · 3 משימות נדרשות · ★
- התוכנית הראשונה שלך Show text with print · Strings · Comments Lesson 1 · 3 משימות נדרשות · ★ וידאו
- משתנים A box with a name · Make a variable · Naming rules · Change a variable Lesson 2 · 3 משימות נדרשות · ★ וידאו
- מספרים ומפעילים Two kinds of number · Add, subtract, multiply, divide · Whole-number division, remainder, powers · Order of operations Lesson 3 · 3 משימות נדרשות · ★ וידאו
- קבלת נתונים Ask the user with input · When your program waits · input always gives a string · Turn text into a number Lesson 4 · 3 משימות נדרשות · ★ וידאו
- עבודה עם מחרוזות Letters have positions · Take a slice · Length and changing case · f-strings build text Lesson 5 · 4 משימות נדרשות · ★★ וידאו
- פרויקט Project: Mad Libs Collect the words · Change a word · A title with a line under it פרויקט · ★★
Part 2 You build: Project: Guess the number
- קבלת החלטות Making a choice · Comparisons · if / elif / else · The remainder Lesson 6 · 4 משימות נדרשות · ★★ וידאו
- ספירות במחזוריות Repeat with for · Counting with range · Build a total (accumulator) · Words and a number on one line Lesson 7 · 4 משימות נדרשות · ★★ וידאו
- לולאות While Loop while a condition is true · Always change the condition · break and continue · Checking before or after Lesson 8 · 3 משימות נדרשות · ★★ וידאו
- פרויקט Project: Guess the number One guess · Keep guessing · Print the count · The sentence פרויקט · ★★★
Part 3 You build: Project: Quiz with a score
Part 4 You build: Project: Rock, paper, scissors
Part 5 You build: Project: Text adventure
- תחום חלון ופרמטרים Local variables · Global variables · Default values · How arguments are passed Lesson 11 · 4 משימות נדרשות · ★★★ וידאו
- Dictionaries (records) Store data by name · Get and set values · A dictionary as a record · Check and loop Lesson 12 · 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
- תכנון וקוד פסאודו Plan before you code · Decomposition · Abstraction · Structured English Lesson 13 · 3 משימות נדרשות · ★★ וידאו
- שגיאות ובדיקות Three kinds of error · Syntax errors · Runtime errors · Logic errors Lesson 14 · 3 משימות נדרשות · ★★★ וידאו
- לחבר הכל יחד The plan · Handy built-ins for lists · A pattern you will reuse: count items that pass a test Lesson 15 · 3 משימות נדרשות · ★★★ וידאו
- פרויקט Project: Hangman Plan first · Build a string letter by letter · Stop as soon as you know · The game loop פרויקט · ★★★★
קריאה ומשאבים
- היסטוריה קצרה של פיתון Where Python came from · Why the funny name · Built for people to read · Python today קריאה ומשאבים
- למה משתמשים ב-Python What people build with Python · Websites and apps · Data, AI, and science · Automation קריאה ומשאבים
- איפה ללמוד עוד משחק והתאמנו · קראו וייעזרו · עוד קורסים באתר זה · טיפ קריאה ומשאבים
- הגדר את המחשב שלך 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.
איפה ללמוד עוד
- freeCodeCamp — למד Python הסמכת פיתון חינמית, מעשית
- PyChallenger למד פיתון על ידי פתרון אתגרים קטנים
- CodeCombat למד לתכנת על ידי משחק אמיתי
- מדריך פיתון הרשמי הקדמה ברורה, חינמית ומובנית שלב אחר שלב מ-python.org
- פיתון לכל האנשים (קורס חינמי) קורס מתחילים אהוב מאת ד"ר צ'אק
- Visual Studio Code העורך החינמי לכתיבת פיתון במחשב האישי שלך
- A-Level מדעי מחשב (אתר זה) לשפר את הידע בפיתון, לעבר המבחן בקמברידג'
- AP CS Principles (אתר זה) הרעיונות הגדולות בחישוב, ב-Python