True: int() turns a string into an integer, else executes if a condition is not met, input waits for the user to enter information, print displays information to the user, While loops are an example of conditional iteration, Lists use square brackets, "for num in range (10):" is used to repeat something for set number of times, TextFile = open("textFile.txt","w") will write data to a text file, False: While loops do not require a condition, While loops do not require a colon, if is used in iteration, PRINT needs a capital letter, input displays text and then moves on to the next line of code, Input statements don't need brackets, Items in lists are separated by a full stop, We don't need a colon at the end of an if statement, Python can not be used to create text files,
0%
Year 9 Python R&R
שתף
שתף
שתף
על ידי
Swrightevans
Y9
Computing
עריכת תוכן
הדפסה
הטבעה
עוד
הקצאות
לוח תוצאות מובילות
הצג עוד
הצג פחות
לוח התוצאות הזה הוא כרגע פרטי. לחץ
שתף
כדי להפוך אותו לציבורי.
לוח תוצאות זה הפך ללא זמין על-ידי בעל המשאב.
לוח תוצאות זה אינו זמין מכיוון שהאפשרויות שלך שונות מאשר של בעל המשאב.
אפשרויות חזרה
אמת או שקר
היא תבנית פתוחה. זה לא יוצר ציונים עבור לוח התוצאות.
נדרשת כניסה
סגנון חזותי
גופנים
נדרש מנוי
אפשרויות
החלף תבנית
הצג הכל
תבניות נוספות יופיעו במהלך המשחק.
תוצאות פתוחות
העתק קישור
קוד QR
מחיקה
האם לשחזר את הנתונים שנשמרו באופן אוטומטי:
?