Skip to content

commit-live-students/059-divisible-by-two-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Write a function to find numbers divisible by two numbers.

Define a function that takes 3 parameters(all positive integers) in this order: num1, num2, end_num

Function should return a list of all numbers less than end_num that are divisible by both num1 and num2.

Example:

Input:

2, 3, 13

Output:

[6, 12]

Challenge: Write the function without using for-loop.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages