How to insert weights in a string Python 3 [closed]

1

Example:

I have 20 students with above-average grades being that for mathematics the weight for the approval is 3. And in the human sciences the weight is 2.

I looked for some tutorials and did not find anything that is compatible to build this logic, does anyone have any tips?

thnk u!

    
asked by anonymous 21.09.2018 / 17:05

0 answers