Is there a way to get the value of the key, not the key value in a dictionary? for example:
d = {"testkey": "testvalue"}
print(d.get("testkey"))
#OUTPUT: "testvalue"
Is there a way to get the String "testkey"? I will have no way of knowing what the String returned will be in the end. Would it be more beneficial to use a list instead of a dictionary?