Codewars (Python🐍) | Sum of Multiples | kyu8

preview_player
Показать описание
You might visit Codewars yourself here:

This is the actual challenge:

#python #codewars #beginner
Рекомендации по теме
Комментарии
Автор

it's one liner
def sum_mul(n, m):
return "INVALID" if n<=0 or m<=0 else sum(range(n, m, n))

ekrako
welcome to shbcf.ru