Python Program

Solved
PIROYOLO -  
 PIROYOLO -

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. Diablo76
     

    Hello,

    Do you know how to calculate a weighted average?

    0
  2. PIROYOLO
     

    Sorry, I'm a beginner.

    But for me, it's:

    average = M * 4 + F * 3 + A * 2 / 3
    0
    1. Diablo76
       

      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).

      1
  3. PIROYOLO
     

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

    Have a good evening.

    0