+ 8
Challenge #10
find the number of pattern solo from this text solooollsolosssoloolllo
5 Antworten
+ 7
Python 3.6
str = "solooollsolosssoloolllo"
print(str.count("solo"))
+ 6
print(input().count("solo")) #generalised
+ 1
print(3)
😄
...
Just kidding, here it is: https://code.sololearn.com/WwVy9m6h6BbK/?ref=app