- 11
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
Gideon Kathima
18 Answers
+ 8
print((18*3) + 7)
+ 6
print ((18*3)+(7*1))
+ 2
Ok so this is a problem from the course of python for beginners, i think the section its called "simple operations", I struggle on this one a little also , but its actually quiet easy, the team played 18 game plus 7 that they tied , not tied 7 out of the 18, so basically 18 * 3 + 7 .
Or in python it would be print((18*3)+7)
+ 2
The answer to the problem is easy!
first you have to create a variable whose value will be the total games won multiplied by 3(the points)
then in the same way the number of draws * 1
now add the variables and print it.
The code:
total_wins = 18 * 3
total_draws = 7 * 1
points = total_wins + total_draws
print(points)
+ 2
Isn't it better to write it like this, because than we know what the code is about? And also if we want to change some things it is easier.
gamesWon = 18
gamesDraw = 7
pointsWon = 3
pointsDraw = 1
totalPoints = gamesWon * pointsWon + gamesDraw * pointsDraw
print(totalPoints)
+ 1
print((18*3)+7)
0
i cant solve it what i should do im sad
0
Print(18*3+7)
0
Q. 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.
answer
print ((18*3)+(7*1))
for more doubt contact here
https://youtu.be/tOWQqOWieE4
0
Q. 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.
answer
print ((18*3)+(7*1))
for more doubt contact here
https://youtu.be/tOWQqOWieE4
0
heavy
0
print((18*3)+7)
0
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.
level
Create a program to calculate and output the total points earned by the team.
0
print((18*3)+7)
- 1
Gideon Kathima ,
if you really have a problem, we need some more details from you:
▪︎give a clear and complete description about your task. how many points brings a draw?
▪︎if your question is related to an exercise in a tutorial, please mention the tutorial name and the lesson number
▪︎if there are error messages please post them here
▪︎to be able to find out the issues you have, we need to see your code
=> please put your code in playground, save it there and post a link to it here.
thanks for your understanding!
- 1
Please help me,
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.
- 1
print(7425/550)
- 2
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.