Well done, on solving your first task. You must be pretty excited to try more things, right?
Now, lets start with something basic and find the teams which played the first ever match in IPL.
- Save the names of the teams playing on the basis of
infoof that match in a variable.
| Parameter | dtype | argument type | default value | description |
|---|---|---|---|---|
| data | dict | compulsory | data loaded from the yaml file |
| Return | dtype | description |
|---|---|---|
| variable | list | List containing the teams with their names |
Hint: Access the key value info from the dictionary along with the key value teams inside the info dictionary.