I have a dictionary that looks like this:
{key1: [value1, value2], key2: [value3, value4]}
where each key is added by a user and a value comes along with it.
last name is a variable containing the last added/modified key
i want to pop() the last element of the last modified key and i think it should look something like this:
key(last_name).values().pop(len(key(last_name).values()))
but of course it doesn't work because im not sure of the syntax, so i need a little help