Generation

generate functionSun, 16 Apr 2023

任意输入含加减乘除乘方开方的文本数学表达式文本,自动计算结果

from math import * def eval(s): return eval(s) eval("1+2*(sqrt(9) + 5/7)")

Want to kickstart your project?Use the new AI Studio to create your code