Return the First Element in a List
Create a function that takes a list containing only numbers and return the first element.
Examples
getfirstvalue([1, 2, 3]) ➞ 1
getfirstvalue([80, 5, 100]) ➞ 80
getfirstvalue([-500, 0, 50]) ➞ -500
Notes
The first element in a list always has an index of 0.