We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got this error message
Pepsi likes: --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-13-958828f64553> in <module>() 12 def int_format(n): return "{:,}".format(n) 13 ---> 14 print "Pepsi likes:", int_format(g.get_object(pepsi_id)['likes']) 15 print "Coke likes:", int_format(g.get_object(coke_id)['likes']) KeyError: 'likes'
for this code
print "Pepsi likes:", int_format(g.get_object(pepsi_id)['likes'])
Please advice. Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I got this error message
for this code
print "Pepsi likes:", int_format(g.get_object(pepsi_id)['likes'])
Please advice. Thank you.
The text was updated successfully, but these errors were encountered: