Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanBaird authored Sep 11, 2022
1 parent 4aad0ca commit e3ed4b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Find Multiples of a number kyu8.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Given two numbers return a list of all the multiplication up tothe limit given the first integer

def find_multiples(integer, limit):
list = []
multiples = int((limit / integer))
count = 0
while count < multiples:
count +=1
list.append(integer * count)
print(multiples)
return list

0 comments on commit e3ed4b3

Please sign in to comment.