我试过了
eval('print("hello world")') eval('return 0')
哪都是不正确的.为什么它们无效以及我在使用时应遵循哪些规则eval()(除了尽可能少)?
eval()
python eval
eval ×1
python ×1