I have only a single key-value pair in a dictionary. I want to assign key to one variable and it\'s value to another variable. I have tried with below ways but I am getting
items() returns a list of tuples so:
items()
(k,v) = d.items()[0]