Why key of dictionary in Python can be same?

后端 未结 0 1586
南笙
南笙 2021-01-07 05:37

I am learning dictionary which is a data type in Python.

A={\'color\':\'right\',\'color\':\'wrong\'}
print(A)

In the above code, keys are the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题