## Practice With Arithmetic Operators

Practice these programming examples to internalize these concepts.

### 7. Power

The ** operator in Python is used to raise the number on the left to the power of the exponent of the right. That is, in the expression 5 ** 3, 5 is being raised to the 3rd power. In mathematics, we often see this expression rendered as 5³, and what is really going on is 5 is being multiplied by itself 3 times. In Python, we would get the same result of 125 by running either  5 ** 3 or 5 * 5 * 5.

Let's look at an example with variables:

s = 52.25
t = 7
print(s ** t)

Output:

1063173305051.292

Raising the float 52.25 to the power of 7 through the ** operator results in a large float value returned.
{"ft_lang_label":"__label__en","ft_lang_prob":0.9205587,"math_prob":0.9865968,"size":713,"snap":"2023-14-2023-23","text_gpt3_token_len":192,"char_repetition_ratio":0.090267986,"word_repetition_ratio":0.0,"special_character_ratio":0.30014026,"punctuation_ratio":0.11333334,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9829616,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-10T21:10:43Z\",\"WARC-Record-ID\":\"<urn:uuid:cb9a7e37-8da4-455e-b7a9-6774b5fef54f>\",\"Content-Length\":\"97738\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9ca6f7dd-dcc7-4889-b6b2-6d7f77b5e1dc>\",\"WARC-Concurrent-To\":\"<urn:uuid:62a55211-644e-45dc-b3ed-8a20e3b9e987>\",\"WARC-IP-Address\":\"54.147.134.145\",\"WARC-Target-URI\":\"https://learn.saylor.org/mod/book/view.php?id=29351&chapterid=4870\",\"WARC-Payload-Digest\":\"sha1:EUO3C76RVNBFVXF5B25VBNJ5VIC44OFI\",\"WARC-Block-Digest\":\"sha1:TKRPDHJAL5JVQVCUONUMG7W42VJ7WSTM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224646350.59_warc_CC-MAIN-20230610200654-20230610230654-00480.warc.gz\"}"}