Some Operation in Python

In this blog, I will show you how to code simple operations using Python.

Let’s begin with the addition operator, which adds values on either side of the operator. Now I will code this and show you how it works and how the output comes out.

Now let’s see how to use the subtraction operator, which subtracts the right-hand operand from the left-hand operand.

Now let’s see how to use the Multiplication operator. It multiplies values on either side of the operator. We use asterisk (*) to multiply.

Now let’s see how to use the Division operator, which divides the left-hand operand by the right-hand operand. We use a forward slash (/) to divide.

Thanks for reading.

Saket Kumar, Signing off!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store