Solution for a problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Solution for a problem

Hi I need code in python language that solve my problem The problem is In soccer four teams played with each other and fifa get six result to us and ask us for: 1-goal different 2-wins of each teams 3-loses of each of them 4-points of each of them I try to solve ot for few hours but I can't Help me please

29th Nov 2021, 9:14 AM
mohammad fazel sadeghizad
mohammad fazel sadeghizad - avatar
7 Answers
+ 4
First make draft of this question & do it with in simple steps
29th Nov 2021, 9:23 AM
Sâñtôsh
Sâñtôsh - avatar
+ 3
Did you do any code in those few hours? If yes, share it so that we can get an idea about how to help you efficiently.
29th Nov 2021, 9:18 AM
Rishi
Rishi - avatar
29th Nov 2021, 9:25 AM
mohammad fazel sadeghizad
mohammad fazel sadeghizad - avatar
+ 2
And this is my example input: 2-2 2-1 1-2 2-2 3-1 2-1
29th Nov 2021, 9:28 AM
mohammad fazel sadeghizad
mohammad fazel sadeghizad - avatar
+ 1
Team a,team b, goal a- goal b 1, 2, 2-2 1,3, 2-1 1,4, 1-2 2,3, 2-2 2,4, 3-1 3,4, 2-1 With the the data in this way it is possible solve the problem
1st Dec 2021, 2:38 AM
Cristian Baeza Jimenez
Cristian Baeza Jimenez - avatar
0
Thanks of all of you for helping me i finally get my result
29th Nov 2021, 4:07 PM
mohammad fazel sadeghizad
mohammad fazel sadeghizad - avatar
0
The snail climbs up 7 feet each day and slips back 2 feet each night. How many days will it take the snail to get out of a well with the given depth? Sample Input: 31 Sample Output: 6 Explanation: Let's break down the distance the snail covers each day: Day 1: 7-2=5 Day 2: 5+7-2=10 Day 3: 10+7-2=15 Day 4: 15+7-2=20 Day 5: 20+7-2=25 Day 6: 25+7=32 So, on Day 6 the snail will reach 32 feet and get out of the well at day, without slipping back that night. Hint: You can use a loop to calculate the distance the snail covers each day, and break the loop when it reaches the desired distance. pls help me out!!!
11th Sep 2022, 4:38 PM
Ndulue Christian