题目内容

现有代码如下: def sub(a, b): try: print(a / b) except: pass finally: print("Over") sub(1, 0) 程序运行结果是:

A.报错
B.1
C.0Over
D.Over

查看答案
更多问题

正则表达式模块re的()方法用来编译正则表达式对象。

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

正则表达式模块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

答案查题题库