I've the following code:
tweet = {"user" : "joelgrus", "text" : "Data Science is Awesome", "retweet_count" : 100}
print "tweet:", tweet
The output after running the script is:
tweet: {'text': 'Data Science is Awesome', 'retweet_count': 100, 'user': 'joelgrus'}
Why is the order of the elements (seemingly) wrong? I thought the output should just be:
tweet: {'user': 'joelgrus', 'text': 'Data Science is Awesome', 'retweet_count': 100}