Home  >  Article  >  Backend Development  >  What is pow in python

What is pow in python

silencement
silencementOriginal
2019-05-20 16:08:1253538browse

What is pow in python

#The pow() function in python is a built-in function. It receives two parameters, x and y, and the pow(x,y) function returns the value of x raised to the power of y.

For example

What is pow in python

In python, you can also use x**y to express the value of the y word of x

For example

What is pow in python

Related learning recommendations: python tutorial

The above is the detailed content of What is pow in python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn