English

What will be the output of the following statement: print(3-2**2**3+99/11) - Computer Science (Python)

Advertisements
Advertisements

Question

What will be the output of the following statement:

print(3-2**2**3+99/11)

Options

  • 244

  • 244.0

  • -244.0

  • Error

MCQ
Advertisements

Solution

- 244.0

Explanation:

3 - 2**2**3  + 99/11

= 3 - 2**8 + 9.0

= 3 - 256 + 9.0

= - 244.0

shaalaa.com
  Is there an error in this question or solution?
2023-2024 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×