0

How should I solve this ?

You need to calculate the points earned by a soccer team. The team won 18 games and ended 7 games as a draw. A win brings 3 points, while a draw brings 1.

5th Nov 2021, 9:35 PM
Innocent Azubuike
6 odpowiedzi
+ 2
Please tag the relevant programming language. If you cannot figure out the code immediately, solve it with pen and paper and then translate it into code. Link your code if you need help with that.
5th Nov 2021, 9:45 PM
Lisa
Lisa - avatar
+ 1
It's a python code, and I'm a newbie. I just started not quite 4 hours ago
5th Nov 2021, 10:10 PM
Innocent Azubuike
+ 1
If you cannot solve it now, do it later when you are more experienced.
6th Nov 2021, 7:32 AM
Lisa
Lisa - avatar
0
OK then, but I have tried to the best of my knowledge and it doesn't seem to be working, can you help me out with it ? It's python
6th Nov 2021, 12:42 AM
Innocent Azubuike
0
Innocent Azubuike maybe this will help though I just wrote it in php it's the same problem https://code.sololearn.com/wSG0G33QdxeV/?ref=app
6th Nov 2021, 2:09 AM
BroFar
BroFar - avatar