+ 8

Challenge #10

find the number of pattern solo from this text solooollsolosssoloolllo

18th Dec 2017, 4:11 AM
Amar Dahake
5 Respuestas
20th Dec 2017, 8:05 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 7
Python 3.6 str = "solooollsolosssoloolllo" print(str.count("solo"))
18th Dec 2017, 4:19 AM
Boris Batinkov
Boris Batinkov - avatar
+ 6
print(input().count("solo")) #generalised
18th Dec 2017, 4:57 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
print(3) 😄 ... Just kidding, here it is: https://code.sololearn.com/WwVy9m6h6BbK/?ref=app
20th Dec 2017, 8:46 PM
Luc Hariman Randrianomenjanahary
Luc Hariman Randrianomenjanahary - avatar