Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

With Python, it is possible to use the ** operator to calculate powers

>>> 5 ** 2  # 5 squared
25
>>> 2 ** 7  # 2 to the power of 7
128
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #With #operator #calculate #powers
ADD COMMENT
Topic
Name
9+8 =