Q.

What is the average value of the
following Python code snippet?
>>>grade1 = 80
>>>grade2 = 90
>>>average = (grade1 + grade2) / 2

A. 85.0
B. 85.1
C. 95.0
D. 95.1
Answer» A. 85.0
Explanation: cause a decimal value of 0 to appear as output.
1.3k
0
Do you find this helpful?
12

Discussion

No comments yet