circuitpython/tests/basics/fun3.py

7 lines
143 B
Python
Raw Permalink Normal View History

# function with large number of arguments
def fun(a, b, c, d, e, f, g):
return a + b + c * d + e * f * g
print(fun(1, 2, 3, 4, 5, 6, 7))