Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Gobind
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
num1= eval(input('enter first no:--'))
num2= eval(input('enter second no:--'))
operation= (input('enter operation among {+, -, *, /}:---'))
if operation=='+':
print('the sum is:', num1+num2)
elif operation=='-':
print('the difference is:', num1-num2)
elif operation=='*':
print('the product is:', num1*num2)
elif operation=='/':
print('the quotient is:', num1/num2)