Python program to perform the arithmetic operations
kw.py
Output
kodingwindow@kw:~$ python3 kw.py _______________________________________ Program for the arithmetic operations _______________________________________ Value of a | 3.6 Value of b | 1.3 _______________________________________ Addition | 4.9 Subtraction | 2.3 Multiplication| 4.680000000000001 Division | 2.769230769230769 Division | 2.0 a^b | 5.286804500121683 Reminder | 1.0 _______________________________________
What Next?
Python program to perform the relational operations
Python program to swap the given numbers
Python program to print the runtime arguments
Advertisement