Vidyalelo
Python · Q24

MCQs for Python Data Types and Numeric Types Chapter

Programming · Python · question 24

Q24

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

A.
85.0
Answer
B.
85.1
C.
95.0
D.
95.1

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board