Loading…
Use re.findall() to find every a in the string banana and print the resulting list.
Expected output: [a, a, a]
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.