# coding=utf-8
import re
input_str = input()
# 编写获取python和Python的正则,并存储到match_python变量中
########## Begin ##########
match_python=re.findall("[pP]ython",input_str)
########## End ##########
print(match_python)
头歌正则表达式入门-二
阅读 99
2022-05-03
# coding=utf-8
import re
input_str = input()
# 编写获取python和Python的正则,并存储到match_python变量中
########## Begin ##########
match_python=re.findall("[pP]ython",input_str)
########## End ##########
print(match_python)
相关推荐
精彩评论(0)