def language(perl,python): try: return perl/python except ZeroDivisionError: return perl