def Compilable(filename):
 for res in (filename.endswith(e) for e in COMPILABLE_EXTENSIONS):
  if res:
   return True
 return False

def Compilable ( filename ) : for res in ( filename . endswith ( e ) for e in COMPILABLE_EXTENSIONS ) : if res : return True return False
return true if the file is compilable .