Back to Lesson

Data Flattening Transfers

Automatically explode lists bypassing structural borders across function states.

Instructions

  • Complete mapping:
    def combine(a, b, c): return a+b+c
    .
  • We have a sequence mapping:
    data = [15, 25, 30]
    .
  • Write
    combine(*data)
    to spontaneously unpack the sequence arrays distributing index matches properly into mapping components.
  • Finally, print the integer returned via evaluating
    combine(*data)
    .
main.py
main.py