English

What will the following expression be evaluated for in Python? print(15.0 / 4 + (8 + 3.0)) - Computer Science (Python)

Advertisements
Advertisements

Question

What will the following expression be evaluated for in Python?

print(15.0 / 4 + (8 + 3.0))

Options

  • 14.75

  • 14.0

  • 15

  • 15.5

MCQ

Solution

14.75

shaalaa.com
Notations for Arithmetic Expressions
  Is there an error in this question or solution?
2022-2023 (March) Sample
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×