Module 6

Multiple parameters

Passing more than one value.

More than one input

A function can have multiple parameters. You pass the values in the same order.

Python
def describe(sample, temp):
    print(f"{sample}: {temp}°C")

describe("Control", 30)
Control: 30°C
Your task

Multiple parameters

  • Define describe(sample, temp) and call it.