I’ve mentioned how tuples can be used within dictionaries in a previous post but I thought I would take the time just to show what that would look like, this will be a quick one.
Ex:
Dictionary = {Variable: 5, Float: 5.5, list: [1,2,3,4,5], tuple:1,}
print(Dictionary[tuple])
Result:
1,