Question number 13:
d = {“john”:40, “peter”:45}
print(list(d.keys()))
It results into error : TypeError: ‘list’ object is not callable.
I tested it on Google Colab.
Question number 13:
d = {“john”:40, “peter”:45}
print(list(d.keys()))
It results into error : TypeError: ‘list’ object is not callable.
I tested it on Google Colab.
Hi! @jatindera
the error is occurring since you have copy pasted it the " " <— are going UTF-8 format so resulting is this error instead you can type it which will be more better or there is sample of same attach below you can check it . thanks have a nice day
Happy Learning !