Момчил обнови решението на 08.03.2014 15:33 (преди над 10 години)
+def wow_such_much(start, end):
+ out_list = []
+ for num in range(start, end):
+ word = ""
+ if num % 3 == 0:
+ word += "such"
+ if num % 5 == 0:
+ word += "much"
+
+ if word == "":
+ out_list.append(str(num))
+ else:
+ out_list.append(word)
+ return out_list
+
+
+
+def count_doge_words(sentence):
+ doge_words = ['wow', 'lol', 'so', 'such', 'much', 'very']
+ return len([word for word in doge_words if word in sentence])