Hi all,
Thanks for the help.
I am able to resolve the issue. I need to return all values in one file and
in other file I need to reading the response as response[0] , response[1]
and so on..
Shweta
On Jan 6, 2015 8:32 AM, "shweta kaushik" wrote:
> Hii Alan,
>
> Thank you..
>
> I want to put th
Hii Alan,
Thank you..
I want to put the value of sublist[3] into another file (test case) for
verification purpose.
Shweta
On Jan 6, 2015 6:09 AM, "Alan Gauld" wrote:
> On 05/01/15 17:38, shweta kaushik wrote:
>
> list = [[1,2,3,4,5],[2,3,4,4,6],[3,4,5,4,6],[1,4,5,4,8]]
> for sublist in l
On 05/01/15 17:38, shweta kaushik wrote:
list = [[1,2,3,4,5],[2,3,4,4,6],[3,4,5,4,6],[1,4,5,4,8]]
for sublist in list:
... if sublist[3] == 4:
...print sublist[3]
...
4
4
4
4
I want sublist[3] value when matched first time and don't want the value
for second match.
You need to bre
On Mon, Jan 05, 2015 at 11:08:16PM +0530, shweta kaushik wrote:
> Hi All,
>
> I need help for list.
>
> I am having one list of list
>
> list = [[1, 2, 3, 4], [1, 5, 9, 11,5], [1, 6, 7, 2]]
>
> In this list i am getting sublist value as shown below:
>
> >>> list = [[1,2,3,4,5],[2,3,4,4,6],[3,
Hi All,
I need help for list.
I am having one list of list
list = [[1, 2, 3, 4], [1, 5, 9, 11,5], [1, 6, 7, 2]]
In this list i am getting sublist value as shown below:
>>> list = [[1,2,3,4,5],[2,3,4,4,6],[3,4,5,4,6],[1,4,5,4,8]]
>>> for sublist in list:
... if sublist[3] == 4:
...