下列程序执行后,得到的输出结果是
import re

p=re.compile(r'\bb\w*\b')

str="Boys may be able to get a better idea."

print(p.sub('**',str,1))

单选题 程序执行

浏览:
11
选项

A.** may be able to get a better idea.
B.Boys may be able to get a ** idea.
C.Boys may ** able to get a better idea.
D.Boys may ** able to get a ** idea.
答案

解析

相近题目

正在获取相关题目,请稍后...