Ishita wrote following statement on python prompt to get value of (32
)
3 that is 729
>>> 3**2**3
And got the output as 6561. Give reason and correct the statement.
pls dont answer if u dont know itns my exam
Answers
Answered by
7
Explanation:
python read it as
3^2^3 = 3^8 = 6561
while the correct way to write it is
(3^2)^3 = (9)^3 = 729
mark as brainlist and follow me
Attachments:
Similar questions