From 37afb15259d5bc3a34ed516c2b4e175426e63eba Mon Sep 17 00:00:00 2001 From: Aviation Engineer <109074663+YBCA7@users.noreply.github.com> Date: Sat, 20 Apr 2024 08:32:34 +0800 Subject: [PATCH] Update calculate.py. --- calculate.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/calculate.py b/calculate.py index 98e43db..9140591 100644 --- a/calculate.py +++ b/calculate.py @@ -1,4 +1,8 @@ -from math import sqrt, sin, cos, tan, acos, degrees, radians +from math import * + + +def e(code): + return eval(code) def circumference_area(edge_a, edge_b, edge_c):