1) Which keyword is used for function? a) Fun b) Define c) Def d) Function 2) 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 3) Which of the following is a feature of DocString? a) Provide a convenient way of associating documentation with Python modules, functions, classes, and methods b) All functions should have a docstring c) Docstrings can be accessed by the __doc__ attribute on objects d) All of the mentioned 4) Which are the advantages of functions in python? a) Reduce dublication b) Decomposing complex problems into simpler pieces c) Improve clarity d) All 5) What are the two main types of functions? a) Custom function b) Built-in function & User defined function c) User define d) System function
0%
Python
共享
共享
共享
由
Yojitpatni142
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?