Respuesta :
Answer:
d) b and c are both true.
Explanation:
The purpose of def keyword in python is to indicate start the function and it also indicates that the piece of code following the def keyword is to stored so that it can later be used in the program.
For ex:
def check(n):
if n==10:
return True
return False
n=int(input("Enter an integer\n"))
if check(n):
print("n is 10")
else:
print("n is not 10")
In the above written code the function check is defined by using the keyword def.It also tells the interpreter to store the code because we will need it in future.
The correct option is (d) b and c are both true.
When The main purpose of the def keyword in python is to indicate the start of the function and also it indicates that the piece of code following the def keyword is to be stored so that it can later be used in the program.
Python
For ex:
After that def check(n):
Then if n==10:
Now the return True
return False
After that n=int(input("Enter an integer\n"))
Then if check(n):
Now, print("n is 10")
else:
print("n is not 10")
In the above-written code that is the function of the check is defined by using the keyword def. It also tells the interpreter to store the code because we will need it in the future.
Find out more information about Python here:
https://brainly.com/question/14492046