Advertisement
go6odn28

check_digit

Feb 13th, 2024
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. import re
  2. pattern = r"\d*"
  3. char = "2"
  4.  
  5. if re.match(pattern, char):
  6.     print("yes")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement