有什么办法可以阻止python.exe在完成后立即关闭吗?它关闭的速度比我读取输出的速度快.
这是程序:
width = float(input("Enter the width: "))
height = float(input("Enter the height: "))
area = width * height
print("The area is", area, "square units.")
Run Code Online (Sandbox Code Playgroud) python ×1