【简答题】import re str1 = 'abbbbbbbbbbbbbbc' pattern1 = '_____________' print(re.findall(pattern1,str1)) 请补全以上代码,使得运行结果为['abbbbbbbbbbbbbb']
【简答题】import re pattern1 = "_______" str1 = "abc a.c a.." print(re.findall(pattern1,str1)) 请补全以上代码,使运行结果为['a.c','a..']
【简答题】import re pattern1 = 'a.' str1 = 'what a\nbeautiful cat ' print(re.findall(__________________)) 请补全以上代码,使运行结果为:[at,a\n,au,at]
【多选题】import re str1 = input('请输入任意字符') pattern1 = 'a.c' print(re.search(pattern1,str1)) 用户输入哪些字符串得到的结果不是None
【单选题】Legend has it that ________ taught people how to make fires by drilling wood.
【单选题】Legend has it that ______ built the Giant’s Causeway to cross the sea to Scotland.
【单选题】Legend has it that ________ taught people how to make fires by drilling wood.
【单选题】一批种子的发芽率为75%,每穴播5粒,出苗数为4的概率()
【简答题】import re pattern1 = "o_______z" str1 = "abcdef ghij opqxyz" print(re.findall(pattern1,str1)) 请补全以上代码,使运行结果为['opqxyz']