#19
Last Element
 

Difficulty:Easy
Topics:seqs core-functions


Write a function which returns the last element in a sequence.
test not run
(= (__ [1 2 3 4 5]) 5)
test not run
(= (__ '(5 4 3)) 3)
test not run
(= (__ ["b" "c" "d"]) "d")
Special Restrictions
  • last


  • Code which fills in the blank: