We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
# Could also do with looping and a temp variable instead of using len def get_last(lst): if lst: length = len(lst) return lst[length-1] else: return None