题目内容

如果需要定义匿名函数,需要使用的关键字是()。

A. def
B. global
C. nonlocal
D. lambda

查看答案
更多问题

Python中的时间函数名是()。

A. date
B. time
C. clock
D. calendar

随机产生一个[1,100]之间的整数的正确表示是()。

A. random.randint(1,100)
B. random.random(1,100)
C. random.uniform(1,100)
D. random.randrange(1,100,1)

random.shuffle函数的作用是()。

A. 返回0与1之间的随机浮点数
B. 返回一个随机的元素
C. 将列表中的元素打乱顺序,即洗牌
D. 从指定序列中随机获取若干个元素组成新的子序列

Fill in the blanks with the words given below. Change the form where necessary. Each word can be used only once.coincidence upgraded infectedmanifest skeptical temperament1.If you’re still __________ about doing exercise, you can put your trust in us and give it a try.2.I don’t think it’s a(n)__________ that three of the leading men we’ve talked about today all have tremendous stage experience.3.Policy makers will not consider any policy changes until evidence is __________ that the market is turning for the better.4.Right now there is no evidence that those flu (流感) viruses that__________ our pets are contagious (传染的) to us.5.The full potential of the range is such that the new machine could be__________ to up to 250 percent of its initial capacity.6.Even though your daughter has a shy__________, and may always be somewhat inhibited, you can help her alleviate some of her shyness.

答案查题题库