Create a program to calculate and output the total points earned by the team | Sololearn: Learn to code for FREE!
0

Create a program to calculate and output the total points earned by the team

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

31st Dec 2021, 8:35 AM
Omoh Eginye
3 Answers
+ 3
What have u done so far?
31st Dec 2021, 9:03 AM
Oma Falk
Oma Falk - avatar
+ 10
Omoh Eginye , ▪︎the first operation has to be a multiplication, not a division. ▪︎there is an opening parenthesis missing. (18*3)+(1*7) ^ ^ use print to output this expression.
31st Dec 2021, 1:45 PM
Lothar
Lothar - avatar
+ 1
Please show your code attempt so we can help you. Aside from that, it is only math: Solve it with pen and paper when you can't come up with the code and then translate it into python
31st Dec 2021, 9:04 AM
Lisa
Lisa - avatar