def exponentiate(base: int, exponent: int):
	"""
	Calculates an exponentiation.

	Returns
	-------
	result : int
		Exponentiation. The result of the calculation
	"""
	result = base
	for i in range(1, exponent):
		result = result * base
	return result