for num in all_updates:
               session.updates.insert(0,num)

or

session.updates=[num for num in all_updates]+session.get(updates,[])

On Aug 14, 12:49 pm, Francisco Costa <m...@franciscocosta.com> wrote:
> Hello!
> is there any way you can append a value to the first position?
>
> I have this
>
>             for num in all_updates:
>                session.updates.append(num)
>
> but I want what i already have in the session.updates to appear last
>
> Thanks

Reply via email to