Skip to content

Commit 27bfd0e

Browse files
Merge pull request #2621 from LAbhilashKumar/simple_add_script
Added simple calculator
2 parents f5d5080 + 659e194 commit 27bfd0e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

simple_calcu.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
while True:
2+
print(int(input("enter first number..")) + int(input("enter second number..")))
3+
q= input("press q to quit or press anu key to continue").lower()
4+
if q==" q":
5+
break

0 commit comments

Comments
 (0)