0

Dictionary and bool

Can someone explain me what's going on? 😅 I really don’t know how this result is obtained. print({True: 'yes', 1:'no', 1.0: 'maybĐ”'}) Result: {True: 'maybe'}

2nd Aug 2021, 5:30 AM
Zokir Zokir
Zokir Zokir - avatar
2 RĂ©ponses
+ 2
Oh, thanks!
2nd Aug 2021, 6:05 AM
Zokir Zokir
Zokir Zokir - avatar