
Implement with_appended, which returns a new list holding the items of values followed by value, without changing values.
with_appended([3, 1, 4], 1)[3, 1, 4, 1]with_appended([-2, 0], -2)[-2, 0, -2]with_appended([], 7)[7]with_appended.py
Run the tests to grade your code
Implement with_appended, which returns a new list holding the items of values followed by value, without changing values.
with_appended([3, 1, 4], 1)[3, 1, 4, 1]with_appended([-2, 0], -2)[-2, 0, -2]with_appended([], 7)[7]with_appended.py
Run the tests to grade your code
Variables will appear here