Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abcd = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- kek = "0123456789"
- s = input()
- hello = True
- if s[0] not in abcd:
- hello = False
- for i in range(1,4):
- if s[i] not in kek:
- hello = False
- if s[4] not in abcd:
- hello = False
- if s[5] not in abcd:
- hello = False
- if hello:
- print("Yes")
- else:
- print("No")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement