题目内容

pattern = re.compile(r"[A-Za-z]") print("".join(pattern.findall("a1cd34dsf0dsfkjk"))) 执行程序,输出结果是:______

查看答案
更多问题

def print_numbers(*args): for n in args: print(n) k = [1, 2, 3, 4] print_numbers(______ )

def print_test(title, msg="world"): print(title, msg) print_test("hello"),输出结果为:______

以下程序的输出结果是: ______ lcat =["狮子","猎豹","虎猫","花豹","孟加拉虎","美洲豹","雪豹"] for s in lcat: if "豹" in s: print(s,end="") continue

给出下面代码: a = "Python语言,是,脚本,语言".split(",") x = 0 while x < len(a): print(a[x],end="") x += 1 则代码的输出结果是

A. 执行代码出错
B. Python语言,是,脚本,语言
C. Python语言是脚本语言
D. 无输出

答案查题题库