We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5081b1b commit e1e51e3Copy full SHA for e1e51e3
1 file changed
calculator/calci.md
@@ -1,15 +1,16 @@
1
-"""
+
2
Simple Calculator
3
-----------------------
4
This program performs basic arithmetic operations:
5
Addition, Subtraction, Multiplication, and Division.
6
7
It runs in a loop so the user can perform multiple calculations
8
until they choose to exit.
9
10
11
-# No extra imports needed since we're only using basic Python features
12
+No extra imports needed since we're only using basic Python features
13
+```
14
def add(a, b):
15
"""Return the sum of two numbers."""
16
return a + b
@@ -92,3 +93,4 @@ def main():
92
93
# Ensures that main() runs only when the file is executed directly
94
if __name__ == "__main__":
95
main()
96
0 commit comments