import platform def show_system_info(): try: print(f"Running on {platform.system()} platform") print(f"OS: {platform.platform()}") print(f"Processor: {platform.processor()}") except Exception as ex: print(f"Error ocurred while getting system information {ex}")