Implement a function, `multiples(m, n)`, which returns an array of the first `m` multiples of the real number `n`. Assume that `m` is a positive integer.

Ex.
```
multiples(3, 5.0)
```
should return
```
[5.0, 10.0, 15.0]
```

Difficulty: EASY
Tags: Fundamentals

Mathematics

Starter code:
def multiples(m, n):
	

Solutions:
def multiples(m, n):
	return [i * n for i in range(1, m + 1)]


def multiples(m, n):
	return [k * n for k in range(1, m + 1)]


multiples = lambda m, n: [n * e for e in range(1, m + 1)]


def multiples(m, n):
	array_multiples = []
	for i in range(1, m + 1):
		array_multiples.append(float(i * n))
	return array_multiples


def multiples(m, n):
	solution = []
	for i in range(1, m + 1):
		solution.insert(i, n * i)
	return solution


def multiples(m, n):
	ans = []
	for i in range(1, m + 1):
		ans.append(n * i)
	return ans


def multiples(m, n):
	l = []
	count = 1
	while len(l) < m:
		l.append(n * count)
		count += 1
	return l


multiples = lambda a, b: [i * b for i in range(1, a + 1)]


def multiples(m, n):
	return [a * n for a in range(1, m + 1)]


def multiples(m, n):
	i = 0
	u = 1
	results = []
	while i < m:
		results.append(u * n)
		i += 1
		u += 1
	return results


def multiples(m, n):
	if type(m) == 'float':
		return []
	return [x * n for x in range(1, m + 1)]


def multiples(m, n):
	l = []
	current = 0
	for i in range(1, m + 1):
		if i <= m:
			current = i * n
			l.append(current)
	return l


def multiples(m, n):
	print(m)
	print(n)
	list1 = []
	i = 1
	while i <= m:
		multi = n * i
		print(multi)
		list1.append(multi)
		i += 1
	print(list1)
	return list1


def multiples(m, n):
	lst = []
	st = 1
	while len(lst) < m:
		a = n * st
		lst.append(a)
		st += 1
	return lst


def multiples(m, n):
	list = []
	arr = 0
	for i in range(1, m + 1):
		arr = i * n
		list.append(arr)
	return list


def multiples(m, n):
	ll = list()
	for i in range(m):
		ll.append(n * (i + 1))
	return ll


def multiples(m, n):
	list_mult = list()
	for index in range(m):
		index = index + 1
		multiple = n * index
		list_mult.append(multiple)
	return list_mult


def multiples(m, n):
	return [n * h for h in range(1, m + 1)]


def multiples(m, n):
	result = []
	for i in range(m):
		n * (i + 1)
		result.append(n * (i + 1))
	return result


def multiples(m, n):
	l = []
	for x in range(1, m + 1):
		l.append(n * x)
	return l


def multiples(m, n):
	result = []
	result = [x * n for x in range(1, m + 1)]
	return result


def multiples(m, n):
	x = []
	for i in range(1, m + 1):
		mult = n * i
		x.append(mult)
	return x


def multiples(m, n):
	j = 1
	array = []
	while j <= m:
		array.append(j * n)
		j += 1
	return array


def multiples(m, n):
	result = [n]
	i = 1
	while i < m:
		i += 1
		result.append(i * n)
	return result


def multiples(m, n):
	i = 1
	final_list = []
	while i <= m:
		final_list.append(n * i)
		i += 1
	return final_list


def multiples(m, n):
	list = []
	count = 1
	while count <= m:
		list.append(n * count)
		count += 1
	return list


def multiples(m, n):
	v = 1
	a = []
	while v <= m:
		a.append(n * v)
		v += 1
	return a


def multiples(m, n):
	a = [n]
	i = 2
	l = n
	while m != 1:
		n = l
		n *= i
		a.append(n)
		m -= 1
		i += 1
	return a


def multiples(m, n):
	mults = []
	for i in range(1, m + 1):
		mults.append(i * n)
	return mults


def multiples(m, n):
	answer = []
	for num in range(m):
		ans = (num + 1) * n
		answer.append(ans)
	return answer


def multiples(m, n):
	lst = []
	for x in range(1, m + 1):
		y = n * x
		lst.append(y)
	return lst


import math

def multiples(m, n):
	list = []
	i = 1
	while i <= m:
		list.append(n * i)
		i += 1
	return list


def multiples(m, n):
	gg = []
	for i in range(m):
		gg.append(n * (i + 1))
	return gg


def multiples(m, n):
	X = []
	for i in range(m):
		X.append((i + 1) * n)
	return X


def multiples(m, n):
	count = 1
	result = []
	for _ in range(m):
		result.append(n * count)
		count += 1
	return result


def multiples(m, n):
	a = []
	for j in range(1, m + 1):
		a.append(n * j)
	return a


def multiples(m, n):
	return [mult * n for mult in range(1, m + 1)]


def multiples(m, n):
	i = 1
	a = []
	while i <= m:
		a.append(i * n)
		i = i + 1
	return a


def multiples(m, n):
	answer = []
	i = 1
	while i <= m:
		x = n * i
		answer.append(x)
		i += 1
	return answer


def multiples(m, n):
	return [x * n for x in range(1, m + 1) if x > 0]


def multiples(m, n):
	num_array = []
	for x in range(1, m + 1):
		num_array.append(x * n)
	return num_array


def multiples(m, n):
	res = []
	for i in range(1, m + 1):
		val = n * i
		res.append(val)
	return res


def multiples(m, n):
	output = []
	for nb in range(1, m + 1):
		output.append(nb * n)
	return output


def multiples(m, n):
	new = []
	i = 1
	while i <= m:
		new.append(n * i)
		i += 1
	return new


def multiples(m, n):
	i = 1
	arr = []
	while i <= m:
		arr.append(n * i)
		i += 1
	return arr


def multiples(m, n):
	luvut = list(range(1, m + 1))
	_ = map(lambda luku: luku * n, luvut)
	return list(_)


def multiples(to, n):
	return [n * i for i in range(1, to + 1)]


def multiples(m, n):
	count = 1
	result = []
	while count <= m:
		result.append(count * n)
		count += 1
	return result


def multiples(m, n):
	arr = []
	start = 1
	while m >= start:
		arr.append(start * n)
		start += 1
	return arr


def multiples(m, n):
	nums = []
	for i in range(1, m + 1):
		nums.append(i * n)
	return nums


def multiples(m, n):
	l = []
	for i in range(1, m + 1):
		c = i * n
		l.append(c)
	return l


def multiples(m, n):
	x = 1
	temp = 0
	final = []
	while x <= m:
		temp = x * n
		final.append(temp)
		print(final)
		x = x + 1
	return final


def multiples(m, n):
	data = []
	for i in range(1, m + 1):
		data.append(i * n)
	return data


def multiples(m, n):
	new_list = []
	for i in range(1, m + 1):
		new_list.append(i * n)
	return new_list


def multiples(m, n):
	values = []
	for x in range(1, m + 1):
		values.append(x * n)
	return values


def multiples(m, n):
	arr = []
	s = 1
	k = 0
	while m > 0:
		k = n * s
		s += 1
		m -= 1
		arr.append(k)
	return arr


def multiples(m, n):
	mass = []
	for c in range(1, m + 1):
		mult = c * n
		mass.append(mult)
	return mass


def multiples(m, n):
	list_multiples = []
	for i in range(1, m + 1):
		list_multiples.append(i * n)
	return list_multiples


def multiples(m, n):
	list = []
	i = 1
	while i <= m:
		list = list + [i * n]
		i = i + 1
	return list


def multiples(m, n):
	ar = []
	for i in range(m):
		ar.append(n * (i + 1))
	return ar


def multiples(m, n):
	return [n * el for el in range(1, m + 1)]


def multiples(m, n):
	return [n * b for b in range(1, m + 1)]


def multiples(m, n):
	arr = []
	for num in range(1, m + 1):
		arr.append(n * num)
	return arr


def multiples(m, n):
	array = []
	for i in range(m):
		array.append((i + 1) * n)
	return array


def multiples(m, n):
	final = []
	for num in range(1, m + 1):
		final.append(n * num)
	return final


def multiples(m, n):
	result = []
	for x in range(1, m + 1):
		mul = x * n
		result.append(mul)
	return result


def multiples(m, n):
	lis = []
	for x in range(1, m + 1, 1):
		lis.append(n * x)
	return lis


def multiples(m, n):
	multiple = []
	for x in range(1, m + 1):
		multiple.append(x * n)
	return multiple
print(multiples(5, 2.0))


def multiples(m, n):
	ma = []
	for i in range(1, m + 1):
		ma.append(i * n)
	return ma


def multiples(m, n):
	multiples = []
	for ix in range(1, m + 1):
		multiples.append(ix * n)
	return multiples


def multiples(m, n):
	x = []
	for num_jumps in range(1, m + 1):
		x.append(n * num_jumps)
	return x


def multiples(m, n):
	myarr = []
	for i in range(1, m + 1):
		myarr.append(n * i)
		i += 1
	return myarr


def multiples(m, n):
	t = []
	for i in range(1, m + 1):
		y = i * n
		t.append(y)
	return t


def multiples(m, n):
	i = 0
	r = []
	while i < m:
		r.append(n * (i + 1))
		i = i + 1
	print(r)
	return r


def multiples(m, n):
	return list([x * n for x in range(1, m + 1)])


def multiples(m, n):
	return list(map(n.__mul__, range(1, m + 1)))


def multiples(a, b):
	result = list()
	n = 1
	while a > 0:
		result.append(b * n)
		a -= 1
		n += 1
	return result


def multiples(m, n):
	lt = []
	for i in range(1, m + 1):
		lt.append(i * n)
	return lt


def multiples(m, n):
	count = 1
	results = []
	while count <= m:
		results.append(count * n)
		count += 1
	return results


def multiples(m, n):
	list_of_multiples = []
	for i in range(1, m + 1):
		list_of_multiples.append(n * i)
	return list_of_multiples