Георги обнови решението на 06.03.2014 20:26 (преди над 10 години)
+def wow_such_much(start, end):
+ such_result = list()
+ for i in range(start, end):
+ if i % 3 == 0 and i % 5 == 0:
+ such_result.append('suchmuch')
+ elif i % 3 == 0:
+ such_result.append('such')
+ elif i % 5 == 0:
+ such_result.append('much')
+ else:
+ such_result.append(i)
+ return such_result
+
+def count_doge_words(sentence):
+ so_count = 0
+ much_list = ['wow', 'lol', 'such', 'much', 'so', 'very']
+ for word in sentence.split():
+ if word in much_list:
+ so_count += 1
+ return so_count