Васил обнови решението на 06.03.2014 17:56 (преди над 10 години)
+def wow_such_much(start, end):
+ result = []
+ for x in range(start, end):
+ if(x % 15 == 0):
+ result.append("suchmuch")
+ elif(x % 5 == 0):
+ result.append("much")
+ elif(x % 3 == 0):
+ result.append("such")
+ else:
+ result.append(str(x))
+ return result
+
+def count_doge_words(s):
+ result = 0
+ dogewords = ['wow', 'lol', 'so', 'such', 'much', 'very']
+ for word in dogewords:
+ result += s.count(word)
+ return result