- 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

22nd Aug 2021, 10:47 AM
Gideon Kathima
18 Respuestas
+ 8
print((18*3) + 7)
24th Jan 2022, 10:36 AM
Urvashi Prajapati
+ 6
print ((18*3)+(7*1))
5th Feb 2022, 4:04 AM
Deepak Mankare
+ 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)
9th Sep 2021, 10:02 AM
Steve
Steve - avatar
+ 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)
10th Jan 2022, 11:18 AM
ONEman
+ 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)
24th Oct 2022, 12:12 AM
Stjepan
Stjepan - avatar
+ 1
print((18*3)+7)
4th Dec 2021, 5:55 PM
Md. Rakibul Islam
Md. Rakibul Islam - avatar
0
i cant solve it what i should do im sad
7th Sep 2021, 4:52 PM
viren patidar
0
Print(18*3+7)
6th Sep 2022, 9:26 PM
Diamond d
Diamond d - avatar
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
18th Nov 2022, 4:51 AM
RAJVEER SINGH BAIRWA
RAJVEER SINGH BAIRWA - avatar
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
18th Nov 2022, 4:52 AM
RAJVEER SINGH BAIRWA
RAJVEER SINGH BAIRWA - avatar
0
heavy
9th Jan 2023, 11:40 AM
Melaku Abiye
0
print((18*3)+7)
14th Mar 2023, 7:04 AM
SAMUEL MEKONEN
SAMUEL MEKONEN - avatar
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.
26th Mar 2023, 4:18 PM
shiv raju
shiv raju - avatar
0
print((18*3)+7)
23rd Nov 2023, 4:01 PM
Arikara Sudhan
Arikara Sudhan - avatar
- 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!
22nd Aug 2021, 10:49 AM
Lothar
Lothar - avatar
- 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.
23rd Jan 2022, 2:08 AM
Suraj Das
- 1
print(7425/550)
14th Mar 2022, 5:48 AM
UF.Rasna
UF.Rasna - avatar
- 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.
23rd Jan 2022, 2:06 AM
Suraj Das