+3

# Python

Как в математике считать 2**3**2. Я хочу узнать какая формула тут используется

10/16/2021 2:09:16 PM

Hlupic

+6

Shiva maybe you should delete the last line of your comment. It is NOT just like (2³)² It's just like 2^(3²) Try it out: # (2^3)^2 = 64 print( (2**3)**2 ) # 64 # 2^(3^2) = 512 print( 2**(3**2) ) # 512 print( 2**3**2 ) # 512

+2

you mean (2³)² or 2⁹? in the first case enclose the first operation in brackets as I did (e.g. var = (2**3)**2); In the second case enclose the last operation in brackets (e.g. var = 2**(3**2)).

+1

print(2**3**2) # prints: 512 # this is equal to: # 2^(3^2) or 2^9 #

+1

Я вас не понимаю, уточните, пожалуйста.

+1

Coding Cat ok and thanks

+1

Hlupic Вы ошибаетесь, 2² равно 2 ** 2, 2 × 2 равно 2 * 2, 2 ÷ 2 равно 2/2 для дробного числа, а для целого числа 2 // 2, а остаток от 2 ÷ 2 равен 2% 2.

+1

2**3**5 Let me explain: 2**3**2 = 2**(3**2).............. [3**2 = 3×3 = 9] = 2**9 = 2×2×2×2×2×2×2×2×2 =512 this is your python answer. 💯

0

I wonder how this formula is written in mathematics.

0

okay, but when you put the second **, what are you making the power of? the second last one digit or the whole operation since?

0

I don't understand it. only understood 2⁵ 2 * 2 * 2 * 2 * 2

0

thanks

0