Need some help with dictionary comprehension

nums = [1,2,3,4,5]

for i in {num for num in nums}:


What does {num for num in nums}: turn out to be?

It turns out to be a set comprehension since there are no key-value pairs.

>>> items = {k:chr(k + 64) for k in nums}
>>> items
{1: 'A', 2: 'B', 3: 'C', 4: 'D', 5: 'E'}
>>>