Code Lab

Arguments Unpacking

def draw_point(x, y): print(x, y) point_foo = (3, 4) point_bar = {'y': 3, 'x': 2} draw_point(*point_foo) draw_point(**point_bar)
:
Input
Input Data (stdin):
Output
3 4
2 3
Lint
Position Message Level
4:1 expected 2 blank lines after class or function definition, found 1 info