data structures problems
Hi everyone.... I have to write my homework now, but unfortunately I don't know how:( and I don't have much time...So I was wondering if someone can help me...
1. I have two lists, L1 and L2. I should write a function that will join these lists in one....
e.g. L1={a,b,c} , L2={b,e} and the result should look like L1={a,b,c,b,e}
2.I should write a function which the given list L will print it in reverse form
e.g. L={a,b,c} should look like c,b,a
3. I should write a function which will find the sum of the elements of the given list L
e.g L={3,11,5} ...and the sum should be 19
Thank you in advance
2305985
|