guys. Can you explain to me where can I find information about for loops in lists and dictionaries like this:
friendships = {i["id"]: ['Joe'] for i in users}
When I try to search in the Google "for loops in lists and dictionaries" it just gives me sites where information is only about a normal for loop like this:
for i in x: et cetera
I hope you'll help me :)