I have been given homework to treat. And in part there is a list like this:
list1 = [crepeatedbeeqawearfgdffhrkabjbmkvbjfubfchfbssdfdflvbdaavdgaaaaaaaaafhaaamaarelkrsfrfbgbwer]
The task is to iterate through the list and find the highest times an alphabet is repeated consecutively example: "a" is repeated 9 times in the list (The highest consecutive repetition).
How can I code this in Python? I really need help?