Lot of museum allow you to be a member, for a certain amount `amount_by_year` you can have unlimitted acces to the museum. 

In this kata you should complete a function in order to know after how many visit it will be better to take an annual pass. The function take 2 arguments `annual_price` and `individual_price`.

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def how_many_times(annual_price, individual_price):
	

Solutions:
from math import ceil
from operator import truediv

def how_many_times(annual_price, individual_price):
	return int(ceil(truediv(annual_price, individual_price)))


from math import ceil

def how_many_times(ap, ip):
	return ceil(ap / ip)


def how_many_times(annual_price, individual_price):
	count = 0
	totalCost = 0
	while totalCost < annual_price:
		totalCost += individual_price
		count += 1
	return count


import math
how_many_times = lambda year, ind: math.ceil(year / ind)


import math
how_many_times = lambda ap, ip: math.ceil(ap / ip)


def how_many_times(annual_price, individual_price):
	result = 1
	while result * individual_price < annual_price:
		result += 1
	return result


from math import ceil

def how_many_times(a, i):
	return ceil(a / i)


from math import ceil

def how_many_times(annual, individual):
	return ceil(annual / individual)