- 2

The team won 18 games and ended 7 as a draw and a win bring 3 points but draw bring only 1 point so create a program to calculat

Hello everyone can anyone tell me what to do

1st Feb 2022, 7:33 AM
Mohammed Anas
3 ответов
+ 6
You have to write a code 🙄 OR Post your attempt here towards this problem
1st Feb 2022, 7:45 AM
NEZ
NEZ - avatar
+ 3
Mohammed Anas 18*3+7*1 You can print it as a one-liner which won't teach you anything, or you could use the exercise to understand variables and operator precedence. Example: victories = 18 win_points = 3 result = victories * win_points print(result) See if you can put it all together using these ideas
1st Feb 2022, 7:55 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Thank you sir
1st Feb 2022, 1:58 PM
Mohammed Anas