Sitemap
Saket Kumar's Blog

Saket Kumar's Blog

I’m Saket Kumar, believe in learning by doing, and am currently involved in exploring some independent projects around photography, blogging, and storytelling.

Some Operation in Python

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

Press enter or click to view image in full size

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.

Get Saket Kumar's Blog’s stories in your inbox

Join Medium for free to get updates from this writer.

Saket Kumar, Signing off!

--

--

Saket Kumar's Blog
Saket Kumar's Blog

Written by Saket Kumar's Blog

I’m Saket Kumar, believe in learning by doing, and am currently involved in exploring some independent projects around photography, blogging, and storytelling.