Help and solutions to improve the program؟؟
In Group B of the World Cup, the teams of Iran, Portugal, Spain and Morocco are present. Write a program that, after receiving the results of the games, prints the name of the team, the number of wins and losses, the difference in goals and points, in a single line, respectively. Each team is printed on a line in order of points. (If the score was equal, the number of wins should be considered. If both the number of wins and the score were equal, they should be printed in alphabetical order.) Read the results of the games in the following order: (In the sample input, the number on the left corresponds to the team on the right.) Iran - Spain Iran - Portugal Iran - Morocco Spain - Portugal Spain - Morocco Portugal - Morocco https://code.sololearn.com/cAO6Tmc0PyZS/#py