Skip to content

Commit 7b9ba02

Browse files
committed
fix a typo
1 parent 4af51dd commit 7b9ba02

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)