Answers for "'dict_values' object is not subscriptable"

0

'dict_values' object is not subscriptable

a = {"a":"Chocolate","b":"Strawberry"}
print(list(a.keys())[0])
print(list(a.values())[0])
print(list(a.items())[0])
Posted by: Guest on May-23-2021

Code answers related to "'dict_values' object is not subscriptable"

Browse Popular Code Answers by Language