dictionary comprehension
# simple_dict={
# "a":1,
# "b":2,
# "c":3
# }
# my_dict={key:value**2 for key,value in simple_dict.items() if value%2==0}
# print(my_dict)
my_dict={number:number*2 for number in [1,2,3]}
print(my_dict)
INFO
# simple_dict={
# "a":1,
# "b":2,
# "c":3
# }
# my_dict={key:value**2 for key,value in simple_dict.items() if value%2==0}
# print(my_dict)
my_dict={number:number*2 for number in [1,2,3]}
print(my_dict)