main.py268 chars13 lines
Explanation:
re module which provides support for regular expressions.input() function.r"\d" which will match any digit in the string.re.search() function to check if the pattern matches the input string.gistlibby LogSnag