[GAP Forum] GAP command to remove first and last element in a list

[Muniru Asiru] maasiru@yahoo.com maasiru at yahoo.com
Fri Jun 23 17:09:41 BST 2017


I have a list of numbers say 
L:=Elements(List([7..20]));
My interest is to use a command in GAP to remove 7 and 20 from L so that L now contains numbers between 8 and 19.
What command should I use? Dr. Muniru A. Asiru, Department of Mathematics & Statistics, The Federal Polytechnic, P.M.B. 55, Bida, Niger State, Nigeria. OR Dr. Muniru A. Asiru, P.O.Box. 294, Bida, Niger State, Nigeria. Email Addresses: maasiru at yahoo.com,  remiasiru at yahoo.com, Mobile Phone number: +2348034271010


More information about the Forum mailing list