Replies: 1 comment
-
def count_consecutive_chars(lst): lst = ['z','z','z','z','e','e','e','z','z'] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i have a large list like this ['z','z','z','z','e','e','e','z','z']
i want to print '4z3e2z'
help please
Beta Was this translation helpful? Give feedback.
All reactions