0
What is function call Give an example
2 Answers
+ 2
# writing the function
def func1(x):
return x**2
# calling the function
result = func(6)
# printing the output
print(result)
ok
As I tried to explain with comments, calling a function is simply using it. If it takes arguments, we pass value(s) to it as well.
- 2
a function is a controlling python method