SyntaxFix
Write A Post
Hire A Developer
Questions
As simple as that:
mydictionary={'keyname':'somevalue'} result = mydictionary.popitem()[0]
You will modify your dictionary and should make a copy of it first