def, The keyword used to start a function definition., Parameter, A variable listed inside the parentheses in the function definition., return, Exits a function and sends a result back to the caller., if, The very first condition checked in a logic chain., else, The "catch-all" block that runs if no conditions are met., Indentation, The whitespace used in Python to define blocks of code., None, The value a function returns if no return statement is written., Function Call, The line of code that actually runs the function (e.g., my_func())..

Papan mata

Gaya visual

Pilihan

Tukar templat

)
Pulihkan autosimpan: ?