EasyOutput prediction

Dict comprehension output

What does this code print?

words = ["hi", "hello"]
result = {w: len(w) for w in words}
print(result)

← → arrow keys to navigate

Sign in to save your progress.