1
k = {True:1,1:'no',1.0:'maybe'}
print(k)

Output:

{True: 'maybe'}

It was first time a saw something like this.

Why Someone explain this thing, I am new to Python.

0 Answers0