Please enable JavaScript.
Coggle requires JavaScript to display documents.
W4 functions - Coggle Diagram
W4 functions
function
- name: def name(x):
- parameters:(x)
- docstring: """ ... """ ; specifications (input/output, assumptions, garantees)
- body
-
-
-
-
printname(name, surname)
printname(name = Sandro, surname = accogli)
printname(sandro, accogli)
default
printname(name, surname = accogli)
abstraction
-
-
- function specifications
- docstrings
file
open(file, w)
open(file, r)
-
-
-
methods
s.upper will return the actual function, and evaluating
s.upper() will cause the function itself to be evaluated
-
-
-
-
mathematical induction
prova che statement vero per tutti valori di n
- TRUE per valori piccoli di n
- TRUE per valori arbitrari di n
-