Python 3 Maths Function. | pycoder
Python3 Numbers and built-in Math Functions
In this section, we will be learning about Numbers and various Math function available in python language. In number, we will see some of the most commonly used math operators that we can use to perform various operations on the numbers in python.
Numbers
in python we have 6 basic mathematical operators, they are:
>>>8+9
17
Subtraction
>>>9-8
1
Multiplication
>>>8*9
72
Division
>>>9/3
3
Module
>>>124%3
1
Power
>>>2**2
4
In this section, we will be learning about Numbers and various Math function available in python language. In number, we will see some of the most commonly used math operators that we can use to perform various operations on the numbers in python.
Numbers
in python we have 6 basic mathematical operators, they are:
- Addition
- Subtraction
- Multiplication
- Division
- Modul
- Power
>>>8+9
17
Subtraction
>>>9-8
1
Multiplication
>>>8*9
72
Division
>>>9/3
3
Module
>>>124%3
1
Power
>>>2**2
4
No comments: