def print_it(i,a,s='abc',*args):
print()
print(i,a,s,end=' ')
for var in args:
print(var,end=' ')
print_it(10,3.5)
print_it(20,a=6.8)
print_it(a=10.5,i=50)
print_it(40,3.5,'abc','xyz')
OUTPUT :
def print_it(i,a,s='abc',*args):
print()
print(i,a,s,end=' ')
for var in args:
print(var,end=' ')
print_it(10,3.5)
print_it(20,a=6.8)
print_it(a=10.5,i=50)
print_it(40,3.5,'abc','xyz')
0 Comments