The eval function lets a Python program run Python code within itself. eval example (interactive shell): >>> x = 1 >>> eval('x + 1') 2 ...
確定! 回上一頁