Question: I've been searching a lot but I can't find anything useful, the only answers I found were on how to change the opacity of an image using a .bat file. I just found out recently that you could change the opacity of the CMD window under properties, I want to know if you can do the same in a batch file using just a command.

Answer: 
```
z = {'x':(123,"SE",2,1),'q':(124,"CI",1,1)}
for i in z.keys(): #reaching the keys of dict
    for x in z[i]: #reaching every element in tuples
        if x=="CI": #if match found..
            print ("{} holding {}.".format(i,x)) #printing it..

```

This might solve your problem.

> 
> Output:
> 
> 
> 

```
>>> 
q holding CI.
>>> 

```

Edit for your comment:

```
def func(*args):
    mylist=[]
    z = {'x':(123,"SE",2,1),'q':(124,"CI",1,1)}
    for x,y in z.items():
        for t in args:
            if t in y:
                mylist.append(x)
    return mylist
print (func(1,"CI"))

```

Output:

```
>>> 
['q', 'q', 'x']
>>>  

```

Hope this is what you want, otherwise first method is already printing all keys, example output:

```
if x==1 or x=="CI":

>>> 
x holding 1.
q holding CI.
q holding 1.
q holding 1.
>>> 

```
There's no need to retrieve the key if you're only interested in the values:

In Python 2.x:

```
z = {'x':(123,"SE",2,1),'q':(124,"CI",1,1)}
for value in z.itervalues():
    if 'CI' in value:
        return value

```

In Python 3.x:

```
z = {'x':(123,"SE",2,1),'q':(124,"CI",1,1)}
for value in z.values():
    if 'CI' in value:
        return value

```