get the value from a dictionary python get vs index code example Example: python dictionary get element by index value_at_index = dic.values()[index]