Python Program Solved PIROYOLO - PIROYOLO - 19 Nov 2022 at 18:55 Hello, I have to do this math program for Monday, but I'm struggling. Can someone help me? Thank you very much Show more Related links: [Python] Build a table with Tkinter [python] Search for a string in a file [Python] How to get yesterday's date Need help: coding a Python Pyxel program the empty result of a program written in python Stuck on Python programming 3 answers Answer 1 / 3 Diablo76 Hello, Do you know how to calculate a weighted average? Answer 2 / 3 PIROYOLO Sorry, I'm a beginner. But for me, it's: average = M * 4 + F * 3 + A * 2 / 3 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). Answer 3 / 3 PIROYOLO Thank you Diablo76, I didn't know that weighted averages were calculated differently. Have a good evening.
Answer 2 / 3 PIROYOLO Sorry, I'm a beginner. But for me, it's: average = M * 4 + F * 3 + A * 2 / 3 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).
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).
Answer 3 / 3 PIROYOLO Thank you Diablo76, I didn't know that weighted averages were calculated differently. Have a good evening.