Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import re
- >>> input1 = 3787381001
- >>> pattern = re.compile('[10*1]')
- >>> pattern.search(input1)
- Traceback (most recent call last):
- File "<pyshell#8>", line 1, in <module>
- pattern.match(input1)
- TypeError: expected string or bytes-like object
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement