Даяна обнови решението на 06.03.2014 01:27 (преди над 10 години)
+def wow_such_much(start, end):
+ result = []
+ for number in range(start,end):
+ if number % 15 == 0:
+ result.append('suchmuch')
+ elif number % 3 == 0:
+ result.append('such')
+ elif number % 5 == 0:
+ result.append('much')
+ else:
+ result.append(str(number))
+ return result
+
+print (wow_such_much(1, 16))
+print (wow_such_much(30, 46))