SyntaxFix
Write A Post
Hire A Developer
Questions
If you can go the functional way, the following is pretty clear
new_list = [x] + your_list
Of course you haven't inserted x into your_list, rather you have created a new list with x preprended to it.
x
your_list