Is it in range? · האם הוא בטווח?
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · עמוד זה דורש דפדפן עדכני (תומך ב-SharedArrayBuffer). אנא עדכן את Chrome, Edge, Firefox או Safari לגרסה העדכנית ביותר.
This one builds on a lesson you haven't finished yet. Do that lesson first: · תרגיל זה מתבסס על שיעור שעדיין סיימת. סיים את השיעור תחילה:
Python Basics · בסיסי Python · Making decisions · קבלת החלטות →
English
Is it in range?
n is 14. Print yes when n is both more than 10 and less than 20. Print no otherwise.
and needs both sides to be true. Write each side as a complete question: n > 10 and n < 20, not 10 < n < 20 and.
עברית
האם זה בטווח?
n הוא 14. הדפס yes כאשר n הוא גם גדול מ10 וגם קטן מ20. הדפס no אחרת.
and דורש שתי צדדים להיות נכונים. כתוב כל צד כשאלה מלאה: n > 10 and n < 20, לא 10 < n < 20 and.
n is 14. Print yes when n is both more than 10 and less than 20. Print no otherwise. · n הוא 14. הדפס yes כאשר n הוא גם גדול מ10 וגם קטן מ20. הדפס no אחרת.
Click Run to see the output here. · לחץ על הרץ כדי לראות את התוצא כאן.