Re: unpacking elements in python - any tips u want to share ?

2017-08-06 Thread Stephan Houben
Hi Ganesh, Op 2017-07-27, Ganesh Pal schreef : > I have a list with say 7 elements say if I need to unpack first 3 > elements in the list and pass it an argument to the new fuction, here is > my elementary code One way to do exactly what you request here is:

unpacking elements in python - any tips u want to share ?

2017-07-27 Thread Ganesh Pal
Hello Python friends , I need some inputs on the efficient way to unpack the elements in python , I know this is a very basic question , just curious to know if there are better way ways to achieve it . For our initial discussion let’s start with list I have a list with say 7 elements