K

Kirti • 10.45K Points
Tutor II

Q. What is the average value of the following Python code snippet?

Code:
>>>grade1 = 80
>>>grade2 = 90
>>>average = (grade1 + grade2) / 2
  • (A) 85.0
  • (B) 85.1
  • (C) 95.0
  • (D) 95.1
  • Correct Answer - Option(A)
  • Views: 166
  • Filed under category Python

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics