1) Choose incorrect answer about functions a) sub-program b) perform tasks c) tasks that may need to be repeated d) handle error 2) Identify element in function a) Define & call b) Define & pass data c) Declare & delete d) call & use 3) Identify true or false to define function = def average(total, num) a) True b) False 4) Choose incorrect answer of RULES FOR DEFINING FUNCTION IN PYTHON a) code block within every function starts with a colon (:) and is indented. b) The statement return [expression] exits a function, option passing back to the caller. c) Function blocks begin with the keyword define d) A return statement with no arguments is the same as return None. 5) Why use function? a) Complexity b) Reusability c) rewritten d) hard to maintain
0%
Python_Chapter 3 Functions
שתף
שתף
שתף
על ידי
Norzimahch
Men. atas
Sains Komputer
Pengaturcaraan
עריכת תוכן
הדפסה
הטבעה
עוד
הקצאות
לוח תוצאות מובילות
הצג עוד
הצג פחות
לוח התוצאות הזה הוא כרגע פרטי. לחץ
שתף
כדי להפוך אותו לציבורי.
לוח תוצאות זה הפך ללא זמין על-ידי בעל המשאב.
לוח תוצאות זה אינו זמין מכיוון שהאפשרויות שלך שונות מאשר של בעל המשאב.
אפשרויות חזרה
מרדף במבוך
היא תבנית פתוחה. זה לא יוצר ציונים עבור לוח התוצאות.
נדרשת כניסה
סגנון חזותי
גופנים
נדרש מנוי
אפשרויות
החלף תבנית
הצג הכל
תבניות נוספות יופיעו במהלך המשחק.
תוצאות פתוחות
העתק קישור
קוד QR
מחיקה
האם לשחזר את הנתונים שנשמרו באופן אוטומטי:
?