Open chrissprague opened 8 years ago
our solution to the string compression problem doesn't account for the empty string. It should have some kind of check such as
def compress(string): if string == "": return string
our solution to the string compression problem doesn't account for the empty string. It should have some kind of check such as