如何从函数中的exec返回值. 最佳答案. 考虑运行以下代码。 code = """ def func(): print("std out") return "expr out" func() """ 在Python 控制台上
確定! 回上一頁