Arithmatic operations in Python

We use calculators to do Arithmetic operations such as addition, subtraction, division, or multiplication. But do you know that you can write a program in Python language to do all those calculations?
This example shows the basic arithmetic operations that can be performed in Python i.e.

  • Addition
  • Subtraction
  • Multiplication
  • Division

Here in this instruction the command input is used to craete an input field on the output window.
the instruction input(‘Enter first number: ‘) will allow you to write a number after colon.

Leave a Reply