Таня обнови решението на 08.03.2014 01:02 (преди над 10 години)
+def wow_such_much(start, end):
+
+ arr = list(range(start, end))
+ arr = ["suchmuch" if (n%3==0 and n%5==0) else n for n in arr]
+ arr = ["such" if str(n).isdigit() and n%3==0 else n for n in arr]
+ arr = ["much" if str(n).isdigit() and n%5==0 else n for n in arr]
+ arr = [str(n) for n in arr]
+ return arr
+
+
+def count_doge_words(text):
+
+ parasites = ["wow", "lol", "so ", "such", "much", "very"]
+ count = 0
+ for word in text.split(" "):
+ if word in parasites:
+ count+=1
+ return count