Python Program

Solved

Hello,

I have to do this math program for Monday, but I'm struggling. Can someone help me?

Thank you very much


3 answers

  1. Thank you Diablo76, I didn't know that weighted averages were calculated differently.

    Have a good evening.

    1. Sorry, I'm a beginner.

      But for me, it's:

      average = M * 4 + F * 3 + A * 2 / 3
      1. Your division is valid for a simple average; for a weighted average, you need to divide by the sum of the 3 coefficients.

        Be careful with the order of operations, use parentheses (your average cannot exceed 20).