Given a string consisting of letters and digits only, return a list whose elements are those substrings of the given string that consist of consecutive letters only. For example, alpha("1up2down 33sideways77") will return the list ["up", "down", "sideways"].
All i know is that i would have to use s.split()..i think?
any help would be appreciated. thanks.
All i know is that i would have to use s.split()..i think?
any help would be appreciated. thanks.
Comment