View Single Post
  #1 (permalink)  
Old March 29th, 2007, 05:43 PM
detence detence is offline
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote