Re: [BangPypers] lists and tuples

2016-10-05 Thread Siva Ranganath
Thanks for quick reply. Thanks Noufal ibrahim. On Tue, Oct 4, 2016 at 5:41 PM, Noufal Ibrahim wrote: > On , Siva Ranganath wrote: > >> Hi All, >> >> please let me know few cases when we will go with Lists and tuples in >> pyhton. >> > > Lists are like vectors (since you're from a C++ background)

Re: [BangPypers] lists and tuples

2016-10-04 Thread Prashant Sethi
Read this StackOverFlow answer: http://stackoverflow.com/a/626871 Also read the links referenced in it. You really should read through the documentation and look for answers on StackOverflow. You will easily find a lot of information there. Thanks and regards, Prashant Sethi On Tue, Oct 4, 2

Re: [BangPypers] lists and tuples

2016-10-04 Thread Noufal Ibrahim
On , Siva Ranganath wrote: Hi All, please let me know few cases when we will go with Lists and tuples in pyhton. Lists are like vectors (since you're from a C++ background). They can expand/contract depending on data and are also heterogeneous meaning that all the elements needn't be of the