List manipulation in functions


#1

can any one tell me where my program went wrong?


#2

you append to the function, you should append to the list


#3

ok.I got it thank you.


#4