N
nour
Guest
Hi everybody!
Please how can I delete an elelment of a skill list?
Please how can I delete an elelment of a skill list?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi,Hi everybody!
Please how can I delete an elelment of a skill list?
note that this'll remove all elements equal to 3, so thatyou can use the "remove" option:
for example -
lst=list(1 2 3 4)
lst2=remove(3 lst)
remd is destructive, i.e. it modifies the list itself (while remove works on a copy of the list).or you can use "remd":
remd(3 lst)
now
lst=(1 2 4)
woops, typorplacd(rplacd(nthcdr(i-1 lst) nthcdr(i+1 lst))
Also, you should consider whether a list is the right data structure if you'rerplacd(rplacd(nthcdr(i-1 lst) nthcdr(i+1 lst))
woops, typo
rplacd(nthcdr(i-1 lst) nthcdr(i+1 lst))