+ 1
please how can i solve this question
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. Create a program to calculate and output the total points earned by the team.
4 Answers
0
Your try??
0
i did it this way
print (18*3) = print(54"points")
print (7*1) =print (7"points")
print ("total points) =(61"points")
Did i make any mistake?
0
After seeing your code...
I think you should revise the lessons.
Have a look:
https://www.sololearn.com/discuss/2924206/?ref=app
https://www.sololearn.com/discuss/2880425/?ref=app
https://www.sololearn.com/discuss/2867704/?ref=app
https://www.sololearn.com/discuss/2897519/?ref=app
https://www.sololearn.com/discuss/2880456/?ref=app
https://www.sololearn.com/discuss/2863393/?ref=app
https://www.sololearn.com/discuss/2867761/?ref=app
https://www.sololearn.com/discuss/2966935/?ref=app
https://www.sololearn.com/discuss/2966903/?ref=app
https://www.sololearn.com/discuss/2942065/?ref=app
https://www.sololearn.com/discuss/2973923/?ref=app
0
thank you