you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 2 years ago (1 child)

len([c if c == 'r' for c in "strawberry"])

  • source
  • parent
  • hideshow 2 child comments