题解 | #表示数字#
表示数字
https://www.nowcoder.com/practice/637062df51674de8ba464e792d1a0ac6
import re mystr=input() res = re.sub(r'(\d+)', r'*\1*',mystr) print(res)
表示数字
https://www.nowcoder.com/practice/637062df51674de8ba464e792d1a0ac6
import re mystr=input() res = re.sub(r'(\d+)', r'*\1*',mystr) print(res)
相关推荐