re模块

正则表达式:   现在有一个需求收集用户的手机号,如何根据手机号码一共11位并且是只以13、14、15、18开头的数字的特点用代码实现? while True: phone_number = input('please input your phone number : ') if len(phone_number) == 11 \ and phone_nu
相关文章
相关标签/搜索