Converted "x > y and x < z" to the form "y < x < z";
Converted "try: file = open finally: file.close" to the form "with open as file:".