01 | Functions 2
Functions 2
Procedural vs. Functional vs. OOP
- PROCEDURAL: We started out INLS 560 with procedural programming (no functions just
if
,elif
,else
andwhile
andfor
loops) - FUNCTIONAL: then we learned about functions
def
keyword using parameters, arguments, - OOP: After we cover OOP you will get OOP material below.
- PROCEDURAL: We started out INLS 560 with procedural programming (no functions just
Why is the random module needed in this code?