English

What will be the output of the following statement: print (16*5/4*2/5−8) - Computer Science (Python)

Advertisements
Advertisements

Question

What will be the output of the following statement:
print (16*5/4*2/5−8)

Options

  • −3.33

  • 6.0

  • 0.0

  • −13.33

MCQ

Solution

0.0

Explanation:

(16 * 5/4 * 2/5 − 8)

= (16 * 5/4 * 0.4 − 8) 

= 8.0 − 8

= 0.0  

shaalaa.com
  Is there an error in this question or solution?
2023-2024 (February) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×