0
What does this type error means:TypeError: string is expected or bytes like object
import re Id =input() if re.search(r"[A-Z][A-Z][0-9][0-9]
quot;,id): print("searching") else: print("wrong format")2 Answers
+ 4
id is a inbuilt function and your variable is Id capital I but using id. not matching..
Correct the typo. Add proper identation
0
Thank very much