sort by value. for k, v in sorted(h.items(), key = lambda t:t[1]): print("%s: %s" % (k, v)). t[1] means value.
確定! 回上一頁