We make a Python Program to check if a string contains any special character. How can i make the special Number in Python?

后端 未结 0 433
天命终不由人
天命终不由人 2021-01-24 13:57

I am creating a simple function to check the special character in Python.

import re 

def run(string): 
    regex = re.compile(\'[@_!#$%^&*()<>?/\\|}{~:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题