You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
Gather 3 numbers: x, y and k.
Count numbers within range [x..y] (both ends are included) that are divisible by k.
Also create a function to return these numbers.
More scientifically: { i : x ≤ i ≤ y, i mod k = 0 }
Tasks:
write a function to return the number of divisible items
write a function to return a list of divisible items
The text was updated successfully, but these errors were encountered:
Gather 3 numbers:
x
,y
andk
.Count numbers within range
[x..y]
(both ends are included) that are divisible byk
.Also create a function to return these numbers.
More scientifically:
{ i : x ≤ i ≤ y, i mod k = 0 }
Tasks:
The text was updated successfully, but these errors were encountered: