python x is a key in the dict my_dict code example
Example 1: how to compare the two key from constant value to list of string in python
my_list = []
Example 2: how to compare the two key from constant value to list of string in python
my_list = []
for char in 'hello':
my_list.append(char)
print(my_list)