How can I make the winner team appear at the end?
How can I make the winner team appear at the end? I'm beginner:) Sorry for my bad English. https://code.sololearn.com/ce31Iil8u7Re/?ref=app
You could make integer variables for each team, and increase them by 1 when their team gets a goal, in the end you'd compare the variables and print the team which won.