I have this variable of type long that is a list of longs:

```
print(list_id)
[6L]
[6L]
[6L]
[6L]
[7L]

```

How to convert this list to something like: 

```
list_id = [6, 6, 6, 6, 7]

```

I did something like this:

```
list_orgs_id = []
for i in list_id[0]:
    list_orgs_id.append(i)
print(list_orgs_id)

```

but it says:

```
TypeError: 'long' object is not iterable

```