Which statement about module is wrong()
A complete Python file is a module, serving as an extension of Python’s functionality
B. After a module is imported by import, its functions can be used by using the format “module.function”
C. You can use variable to refer to function, e.g., bar=math.sqrt, and then use bar to calculate the squre root. For example, bar(9) returns 3.0
D. Python does not support import several modules at one time
查看答案
This question is about regular expression. What is the output of the following code?import re
pattern = ‘this’
text = ‘Does this text match the pattern?’
match = re.search(pattern, text)
sThis question is about regular expression. What is the output of the following code?import re
pattern = ‘this’
text = ‘Does this text match the pattern?’
match = re.search(pattern, text)
s
A. Found “this”in “Does this text match the pattern”from 5 to 9 (“this”)
B. Found “this” in “Does this text match the pattern”from 5 to 9 (“this”)
C. Found “this” in “Does this text match the pattern” from 5 to 9 (“this”)
D. Found”this”in “Does this text match the pattern”from 5 to 9 (“this”)
Every time we go abroad she_____ shoes()
A. is spending a fortune on
B. spends a fortune on
C. is spending a fortune in
D. spends a fortune in
–Excuse me, are you Mr. Smith fromAmerica? —_____()
A. Thank you
B. With pleasure
C. Oh, yes
D. Here you are
It is essential that they your instructions()
A. understood
B. are going to understand
C. understand
D. would understand