Skip to content

Commit e1e51e3

Browse files
authored
Update calci.md
1 parent 5081b1b commit e1e51e3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

calculator/calci.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
"""
1+
22
Simple Calculator
33
-----------------------
44
This program performs basic arithmetic operations:
55
Addition, Subtraction, Multiplication, and Division.
66

77
It runs in a loop so the user can perform multiple calculations
88
until they choose to exit.
9-
"""
109

11-
# No extra imports needed since we're only using basic Python features
1210

11+
No extra imports needed since we're only using basic Python features
12+
13+
```
1314
def add(a, b):
1415
"""Return the sum of two numbers."""
1516
return a + b
@@ -92,3 +93,4 @@ def main():
9293
# Ensures that main() runs only when the file is executed directly
9394
if __name__ == "__main__":
9495
main()
96+
```

0 commit comments

Comments
 (0)