[Tutor] Defining variable arguments in a function in python

2018-12-29 Thread Karthik Bhat
Hello, I have the following piece of code. In this, I wanted to make use of the optional parameter given to 'a', i.e- '5', and not '1' 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()

Re: [Tutor] Defining variable arguments in a function in python

2018-12-30 Thread Karthik Bhat
is NOT the same as having a default > from the command line but it may satisfy some need. > > Other than that, I fully agree that the current python spec cannot support > anything like this in the function definition. > > Side note: To spare others, I sent Steven alone a deep

[Tutor] Off-Topic: Tutor group specific to Java

2019-04-17 Thread Karthik Bhat
Hello Guys, This is kind of off-topic, but I would really appreciate it if anyone could provide me with a tutor mailing list/group specific to Java. I am a beginner, and it would be really helpful for me. -- Thanks & Regards, Karthik A Bhat ___