def register_extension(id, extension):
 EXTENSION[extension.lower()] = id.upper()

def register_extension ( id , extension ) : EXTENSION [ extension . lower ( ) ] = id . upper ( )
registers an image extension .