diff --git a/calculator.py b/calculator.py index a87f00f7421..8c825453639 100644 --- a/calculator.py +++ b/calculator.py @@ -47,7 +47,7 @@ def calc(k): k = input("\nWhat is ") k = k.replace(' ', '') - k = k.replace('^',' **') + k = k.replace('^', '**') k = k.replace('=', '') k = k.replace('?', '') k = k.replace('%', '/100')