Task: Append Integer to Beginning of List in Python
Task: Append Integer to Beginning of List in Python: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that demonstrates how to prepend an integer to the beginning of a list. Given a list 1, 2, 3 , you need to add the integer 42 to the beginning, resulting in 42, 1, 2, 3 .
The task
Write a Python script that demonstrates how to prepend an integer to the beginning of a list. Given a list `[1, 2, 3]`, you need to add the integer `42` to the beginning, resulting in `[42, 1, 2, 3]`.
Part of PrimeIntellect/Terminal-Lego-15k.