0
Pls what is parameterized sequence of statement
In python 3
2 Respuestas
+ 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
+ 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