Skip to content

Commit 818e0c4

Browse files
authored
Update simple_calculator.py
1 parent 03af4a3 commit 818e0c4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

projects/simple_calculator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
k = x/y
2222
print(f"Result of division = {k}")
2323
elif z == "^" or z == "5" :
24-
print(f"Result of division = {x**y}")
24+
print(f"Result of exponent = {x**y}")
2525
else :
2626
print("Invalid Operator⚠️")
2727
else :
28-
exit("Thanks For Running Calculator")
28+
29+
exit("Thanks For Running Calculator")

0 commit comments

Comments
 (0)