Skip to content

Commit 2e63603

Browse files
authoredDec 23, 2021
Merge pull request #1448 from jolin20082/patch-1
Update SimpleCalculator.py
2 parents ed61ad2 + 8348e69 commit 2e63603

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎SimpleCalculator.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@ def main():
4545
else:
4646
print("Invalid input")
4747
main()
48-
main()
48+
if __name__ == "__main__":
49+
main()

0 commit comments

Comments
 (0)
Please sign in to comment.