Calculator to solve basic geometry formulas in Python