All argument types

Question

Write a function with required, default, packed, and keyworded arguments.

in progress 0
YashikaKhurana 55 years 1 Answer 703 views Master 0

Answer ( 1 )

  1. def func5(x,y,z,*args, d=20, e=21,**kwargs):
    print(x)
    print(y)
    print(z)
    print(args)
    print(d)
    print(e)
    print(kwargs)

Leave an answer

Browse
Browse