Python program of arithmetical operations

By: Prof. Dr. Fazal Rehman | Last updated: February 3, 2024

Python program of arithmetical operations

In this program, we will code the following four basic arithmetical operations.
  • Addition
  • Subtraction
  • Multiplication
  • Division
Output Enter first number: 4 Enter second number: 5 The sum of 4 and 5 is 9.0 The subtraction of 4 and 5 is -1.0 The multiplication of 4 and 5 is 20.0 The division of 4 and 5 is 0.8

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials