redis.zadd("myset", {"a": 1, "b": 2, "c": 3}) assert redis.zscore("myset", "a") == 1
Returns the scores of a member.
Was this page helpful?