下列定义函数的方式正确的是:
5-函数

Quiz
•
Computers
•
University
•
Medium

Yilin Chen
Used 22+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Func PyFunc():
def 2MyFunc():
def get_name():
def import():
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
导入模块的命令为
load
library
import
input
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
已知B = lambda x,y,z:(x+2)**y-z,请问print(B(3,2,5))的输出结果为:
5
20
31
程序报错
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
已知下列函数myFunc,请问myFunc(-3,5)的返回结果为
-11
1
13
32
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
根据下图中所示,输出的结果为:
8
10
12
None
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
根据下图中所示,输出的结果为:
8 16
8 18
16 16
16 18
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
根据下图中所示,输出的结果为:
1
20
24
120
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
计算机程序设计第四章

Quiz
•
University
12 questions
树与二叉树测试

Quiz
•
University
10 questions
数据结构小测验

Quiz
•
University
12 questions
web交互设计小组竞赛一

Quiz
•
University
15 questions
你真的會Excel嗎?

Quiz
•
University
10 questions
excel读取

Quiz
•
University
10 questions
排序测试

Quiz
•
University
12 questions
simple

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade