πŸ“Š Problem Solving and Python Programming
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) 85.0

Explanation: cause a decimal value of 0 to appear as output.


Explanation by: Mr. Dubey
cause a decimal value of 0 to appear as output.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
663
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate