There are various mathematical functions in python, there are functions that will simplify the task in some conditions of the program.
-
pow(x, y) - raises to a degree For x we take a number and for y we take the degree to which we need to raise
-
abs(x) - the number module For x we take the number that needs to be put into the module and get the result after opening the module
-
round(x) - rounding a number For x, we take a number that needs to be rounded
-
bin(x) - to the binary system oct(x) - into the octal system hex(x) - to the hexadecimal system