boris-vlasenko

3 d16

Oct 26th, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. s = input()
  2. d16 = 'ABCDEFabcdef9876543210'
  3.  
  4. ok = True
  5. for x in s:
  6.     if x not in d16:
  7.         ok = False
  8.         break
  9. print(ok)
Advertisement
Add Comment
Please, Sign In to add comment