Content
@
0 reply
0 recast
2 reactions
MrMohsen🔵🎩
@mrmohsen
Trick🍻 To iterate over a dictionary while also accessing its keys and values: python: for key, value in my_dict.items(): # Do something with key and value This trick simplifies iterating over dictionaries and provides direct access to both keys and values in a single loop.
20 replies
0 recast
121 reactions
Hadi
@hadirahnama
Thank you for this simple and practical command, do you work in programming?
1 reply
0 recast
0 reaction