Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: The Champions League | Packing and Unpacking
Intermediate Python: Arguments, Scopes and Decorators
course content

Conteúdo do Curso

Intermediate Python: Arguments, Scopes and Decorators

Intermediate Python: Arguments, Scopes and Decorators

1. Packing and Unpacking
2. Arguments in Function
3. Function as an Argument
4. Variable Scope
5. Decorators

Challenge: The Champions League

Tarefa

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.

Tarefa

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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 5
toggle bottom row

Challenge: The Champions League

Tarefa

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.

Tarefa

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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 5
toggle bottom row

Challenge: The Champions League

Tarefa

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.

Tarefa

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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Tarefa

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.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 5
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt