Skip to content

Commit 92b7b66

Browse files
committed
Arithmetic operation
1 parent 4502cb3 commit 92b7b66

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
def arithmentic_operation(a,b):
2+
print(f'Addition of A and B is {a+b}')
3+
print(f'Subraction of A and B is {a-b}')
4+
print(f'Multiplication of A and B is {a*b}')
5+
print(f'Division of A and B is {a/b}')
6+
print(f'Percentage of A and B is {a%b}%')
7+
8+
a,b =map(int,input('Enter the Value A and B with single whitespace: ').split())
9+
arithmentic_operation(a,b)

0 commit comments

Comments
 (0)