We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4502cb3 commit 92b7b66Copy full SHA for 92b7b66
300_Exercises/Simple/5.All_arthmetic_operation.py
@@ -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