DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python calculate the power of number
base
=
3
exponent
=
-
4
result
=
pow
(
base
,
exponent
)
print
(
"Answer = "
+
str
(
result
)
)
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#python
#calculate
#power
#number
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit