I have the following piece of code. In this, I want to make use of the optional parameter given to 'a'; i.e '5', and not '1'. How do I make the tuple 'numbers' contain the first element to be 1 and not 2?
def fun_varargs(a=5, *numbers, **dict):
print("Value of a is",a)
for i in numbers:
print("Value of i is",i)
for i, j in dict.items():
print("The value of i and j are:",i,j)
fun_varargs(1,2,3,4,5,6,7,8,9,10,Jack=111,John=222,Tom=333)