You can use list.insert(i, x), where:
listis the name of the list,iis the index of the element before which to insert, andxis the value to be inserted.
In your case, it should be:
l.insert(0,x)
solved How to move all the elements in a list, a step forward in python?