'''
Syntax :
--------
A dictionary comprehension takes the form {key: value for (key, value) in iterable}.


 https://www.smallsurething.com/list-dict-and-set-comprehensions-by-example/


'''

# Simple :
print {x: x**3 for x in range(10)}

# with condition :
print {x: x**3 for x in range(10) if x**3 % 4 == 0}

'''
cupe of all the numbers
{0: 0, 8: 512, 2: 8, 4: 64, 6: 216}

'''


