📜  python string to operator - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:49.417000             🧑  作者: Mango

代码示例1
ops = {"+": (lambda x,y: x+y), "-": (lambda x,y: x-y)}