+ 1
ŠŠ¾Š·Š²ŠµŠ“ŠµŠ½ŠøŠµ Š² ŃŃŠµŠæŠµŠ½Ń (Exponentiation)
Exponentiation is a repeated multiplication of a number by itself. This operation is performed by adding two asterisks **. Let's use exponentiation to solve the following problem. You are offered a one-time payment of $ 1,000,000 or 1 cent, which is doubled every day for 30 days (the amount received is doubled every day). Task: Write a program to calculate the amount obtained from the result of doubling to determine in which case the amount is greater. Question #true version print (0,01*(2**30)) # why is not True print (0,01*(2**29)) After all, it turns out in the first version, on the first day we already received 0.02
2 Answers
+ 1
hay there i am unable to understand what you want so please post it in english
0
Made a translation of the text