assert redis.rpush("mylist", "one", "two", "three") == 3 assert lrange("mylist", 0, -1) == ["one", "two", "three"]
Push an element at the end of the list.
Was this page helpful?