Python-Program For Basic Arithmetic Operations - Passionate Geekz

Breaking

Where you can unleash your inner geek.

Saturday, 22 June 2019

Python-Program For Basic Arithmetic Operations

In this program , we will show how to Perform arithmetic operations  such as addition,subtraction,multiplication and division in Python with numeric values

#Author : Paras Guglani
#Website : Passionategeekz.com
#created : 22/06/2019 17:03pm

Here is Code for this python program here we used direct numeric values to perform operations

print(6+6)
print(6-6)
print(6*6)
print(6/6)

12
0
36
1.0
[Finished in 0.1s]

 Note: Python does not  follows the BODMAS Rule , order of execution left to right of operator is matters

No comments:

Post a Comment