Computer Science, asked by jayesh712, 7 months ago

a = 2**(2+1) * 3+8/3
print(a)​

Answers

Answered by anindyaadhikari13
1

Question:-

Write the output of the following code in Python.

Solution:-

Given code,

a=2**(2+1)*3+8/3

print(a)

Here,

a=2**(2+1)*3+8/3

>> a=2**3*3+8/3

>> a=8*3+8/3

>> a=24+2.666

>> a=26.666666668

Now, a gets printed.

Hence, the output is: 26.666666668

Output:-

26.666666668

Similar questions