Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: The Champions League | Mastering Packing and Unpacking in Python
Intermediate Python Techniques

book
Challenge: The Champions League

Tehtävä

Swipe to start coding

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.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 5

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

some-alt