Q: Which of the following is the use of function in python?
Solution: Functions are reusable pieces of programs. They allow you to give a name to a block of statements, allowing you to run that block using the specified name anywhere in your program and any number of times.
Q: Which keyword is used for function?
Solution: None.
Q: Which of the following is a feature of DocString?
Solution: Python has a nifty feature called documentation strings, usually referred to by its shorter name docstrings. DocStrings are an important tool that you should make use of since it helps to document the program better and makes it easier to understand.
You Have Score    | /3 |