Write a functionlongest_streak(string, char)that receives as parameters a strings and a character (which is a string of length 1); the function must return the longest streak of that character in the string (i.e. what is the longest sequence of that character contained in the string).
solve in pyhton
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here