0

Pls what is parameterized sequence of statement

In python 3

9th Jan 2021, 10:43 PM
NWAIGWE RAPHAEL
NWAIGWE RAPHAEL - avatar
2 Answers
+ 2
Maybe you are referring to statements inside the functions with parameters? In Python, we use indention instead of brackets to have/separate sequence of statement. def add(x, y): """ This is a parameterized sequence because the function has parameters and the code inside it depends on the parameters. """ return x + y
10th Jan 2021, 3:08 AM
noteve
noteve - avatar
+ 1
This is a statement (which has a section) that has been parameterised. The brackets () set the enclosed section apart from the rest of the sentence
9th Jan 2021, 11:04 PM
Rik Wittkopp
Rik Wittkopp - avatar