Course Content
Intermediate Python Techniques
Intermediate Python Techniques
Challenge: The Champions League
Swipe to show code editor
Imagine we have a table with the final results of the qualification round for the Champions League. Let's store the teams with first and second place in the team_a
and team_b
. The third team save in the team_c
variable. Save the team with the fewest points in the last team_d
variable. We will use these variables to print the announcements.
Please don't change the print statements and the function.
Your task is simply to unpack the list group_c within the function call parameters.
Thanks for your feedback!
Challenge: The Champions League
Swipe to show code editor
Imagine we have a table with the final results of the qualification round for the Champions League. Let's store the teams with first and second place in the team_a
and team_b
. The third team save in the team_c
variable. Save the team with the fewest points in the last team_d
variable. We will use these variables to print the announcements.
Please don't change the print statements and the function.
Your task is simply to unpack the list group_c within the function call parameters.
Thanks for your feedback!