题解 | #提取数字电话#
提取数字电话
https://www.nowcoder.com/practice/6e25b95632e6433db4b5053f91138cb5
import re tel=input() tel=re.sub(r'[^0-9]','',tel) print(tel)
提取数字电话
https://www.nowcoder.com/practice/6e25b95632e6433db4b5053f91138cb5
import re tel=input() tel=re.sub(r'[^0-9]','',tel) print(tel)
相关推荐