Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Packing and Unpacking Lists and Tuples | Packing and Unpacking in Python
Functional Programming Concepts in Python
Sektion 1. Kapitel 3
single

single

Challenge: Packing and Unpacking Lists and Tuples

Stryg for at vise menuen

Opgave

Swipe to start coding

Replace only the placeholder ___ in the code so that the function returns its three arguments as a tuple.

  • The function must return a tuple with its three arguments.
  • Returned tuple must contain the correct values.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 3
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

some-alt