题目内容

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

–May I have your business card, Mr. Jackson? —_____()

A. Take your time
B. Never mind
C. Yes, here you are
D. That’s too large

答案查题题库