Ad
Code
Diff
  • calc = lambda x, op, y: eval(f"{x} {op} {y}")
    • calc = lambda eq: eval(eq)
    • calc = lambda x, op, y: eval(f"{x} {op} {y}")