SyntaxFix
Write A Post
Hire A Developer
Questions
For Python 3 and above,To select first n Pairs
n=4 firstNpairs = {k: Diction[k] for k in list(Diction.keys())[:n]}