Quick actions

cmd+k|ctrl+k

Navigation

Languages

Two list to dict without zip()

Snippet info

Language

Python

Visibility

public

Author

wc563388548

Created

2019-03-17T03:37:36Z

Updated

2019-03-17T03:37:36Z

words = ["PoGo","Spange","Lie-Fi"]
definitions = ["Slang for Pokemon Go","To collect spare change, either from couches, passerbys on the street or any numerous other ways and means","When your phone or tablet indicates that you are connected to a wireless network, however you are still unable to load webpages or use any internet services with your device"]
coolDict = {}
for word in words:
    for de in definitions:
        coolDict[word] = de
        definitions.remove(de)
        break
    
print(coolDict)

INFO