Browsed by
Tag: Python Operators

Python Tutorial 5 – Python Operators

Python Tutorial 5 – Python Operators

Let’s begin our another session use of Python Operators and their priority while using them. Below is the list of commonly used mathematical operators mentioned in the priority in which they will be executed: Operator Usage Priority +(Plus) and (-)minus Used as unary operator 1 **(exponential)   2 *, /, //, %   3 + and – Used as binary operator 4 1) Using plus and minus operator in print function print(3+4) = 7print(3+4.0) = 7.0print(5-4) = 1print(10.0-2) = 8.0…

Read More Read More