ii) Which of the following is the use of function in python?
a) Functions are reusable pieces of programs
b) Functions don't provide better modularity for your application
c) you can't also create your own functions
d) All of the mentioned
Answers
Answered by
7
Answer:
all of mentioned
Explanation:
please make me brainliast
Answered by
0
Answer:
Correct option A.
(a)Functions are reusable pieces of programs is the use of function in python.
Explanation:
Functions are reusable program components. They allow you to give a name to a block of statements, allowing you to run that block anywhere in your program and as many times as you want.
find() is a Python library function that returns the index of the first occurrence of a substring within a given string. If find() fails to locate the substring, it returns -1 rather than throwing an exception.
Similar questions