SyntaxFix
Write A Post
Hire A Developer
Questions
Since your keys are strings and since we are talking about readability, I prefer :
mydict = dict( key1 = 1, key2 = 2, key3 = 3 )