pow()
Returns a result of raising to power
Syntax
pow(
base,
exponent )
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
base | int, real, or long | ✔️ | The base value. |
exponent | int, real, or long | ✔️ | The exponent value. |
Returns
Returns base raised to the power exponent: base ^ exponent.
Example
print result=pow(2, 3)
Output
result |
---|
8 |
Povratne informacije
https://aka.ms/ContentUserFeedback.
Uskoro: tokom 2024. postepeno ćemo ukidati probleme s uslugom GitHub kao mehanizam povratnih informacija za sadržaj i zamijeniti ga novim sistemom povratnih informacija. Za više informacija, pogledajtePošalјite i prikažite povratne informacije za