alphanum python

def alphaNum(self,c):
           
  return (ord("A") <= ord(c) <= ord("Z") or
          ord('0') <= ord(c) <= ord('9') or
          ord('a') <= ord(c) <= ord('z'))
vip_codes