e_p90

15 Reputation

One Badge

11 years, 235 days

MaplePrimes Activity


These are questions asked by e_p90

Please write a Maple procedure called Position which retures the position i of an element x in a list L

That is, Position should return an integer i>0 such that L[i]=x. If x is not in list L,0 is returned..

 

i found command i may need to use 

proc(), do end do ,member(e, a,'p'), if then elif, end proc, 

 

can anyone help with this?  it may be a too elementary question to ask here .....and i know

 beginner 

Page 1 of 1