Add to a List
Complete the given method solve which accepts as parameter a list A and a variable called element
You must return a new list with the element added to the end of the list A
Example Input:
1 2 3 4
10
Output:
1 2 3 4 10
Example Input:
93 a True hello
25
Output:
93 a True hello 25
Answers
Answered by
8
yes yes yes yes yes yes yes yes yes yes yes yes
Similar questions