Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

This is the question, please solve it within a python function and do not use any external modules. The input file is formatted like this:

image text in transcribedThis is the question, please solve it within a python function and do not use any external modules. The input file is formatted like this: A;Netherlands;Senegal;(8,14)();21 November 2022

It is separated by semi colons and shows each teams group and the teams that are playing. The brackets represent how many people scored. So in this match it would be 2-0 to Netherlands. The file contains every group stage match of the World Cup.image text in transcribed

card is equivalent to 4 yellow cards. Here is an example showing the top of the list

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions