We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
# 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