题目内容

正则表达式模块re的()方法用来在字符串开始处进行指定模式的匹配。

A.re.search
B.re.findall
C.re.match
D.re.compile

查看答案
更多问题

()能够匹配所有子串,并把它们作为一个列表返回。

A.re.search
B.re.findall
C.re.match
D.re.compile

正则表达式模块re的()方法用来在整个字符串中进行指定模式的匹配。

A.re.search
B.re.findall
C.re.match
D.re.compile

已知 g=lambda x, y=3, z=5: x+y+z,那么表达式 g(2) 的值为()。

A.3
B.5
C.8
D.10

表达式1234%1000//100的结果是()。

A.1
B.1.234
C.2
D.2.34

答案查题题库