I am trying to write a program that orders a list of strings based on the last character in the item.
[\"Tiger 6\", \"Shark 4\", \"Cyborg 8\"]
are how my li
nums = ["Tiger 6", "Shark 4", "Cyborg 8"]
slist=sorted(nums,key = lambda x:x[-1])