Георги обнови решението на 06.03.2014 23:48 (преди над 10 години)
+def wow_such_much(start, end):
+ result=[]
+ for x in range(start, end):
+ if x%3==0 and x%5==0:
+ result.append('suchmuch')
+ elif x%3==0:
+ result.append('such')
+ elif x%5==0:
+ result.append('much')
+ else:
+ result.append(str(x))
+ return result
+
+def count_doge_words(string):
+ string=string.split()
+ words = ['wow', 'lol', 'so', 'such', 'much', 'very']
+ counter = 0
+ for word in string:
+ if word in words:
+ counter += 1
+ return counter