Aug-22-2020, 03:49 PM
Hello,
I am using functions, and I am passing the argument as dictionary, is there a way to get the value of the dictionary? I am able to get the keys though. I am interested to get the values from the dictionary.
I am using functions, and I am passing the argument as dictionary, is there a way to get the value of the dictionary? I am able to get the keys though. I am interested to get the values from the dictionary.
def odd_even(sequence): for x in sequence: print(x) odd_even({ "store1": ["suman"], "store2": ("su") })
Output:store1
store2