Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 193 Bytes

File metadata and controls

12 lines (9 loc) · 193 Bytes
def func(*args):
    args.append(3)
    print(*args)

func(1,2)

Output: AttributeError: 'tuple' object has no attribute 'append'

Tag: #function/parameter, #tuple/operation