“”"
12. 代码题:
import re
s = ‘137python 714 abd 668
aed’
print(re.findall(r’\d+’, s))
运行结果是()
“”"
#test
import re
s = ‘137python 714 abd 668aed’
print(re.findall(r’\d+’, s)) #[‘137’, ‘714’, ‘668’]
“”"
12. 代码题:
import re
s = ‘137python 714 abd 668
aed’
print(re.findall(r’\d+’, s))
运行结果是()
“”"
#test
import re
s = ‘137python 714 abd 668aed’
print(re.findall(r’\d+’, s)) #[‘137’, ‘714’, ‘668’]