Skip to content

Commit 3df2117

Browse files
Merge pull request geekcomputers#165 from mam8/master
fix a typo
2 parents fb91b44 + 7b9ba02 commit 3df2117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def calc(k):
4747
k = input("\nWhat is ")
4848

4949
k = k.replace(' ', '')
50-
k = k.replace('^',' **')
50+
k = k.replace('^', '**')
5151
k = k.replace('=', '')
5252
k = k.replace('?', '')
5353
k = k.replace('%', '/100')

0 commit comments

Comments
 (0)