def ProgressingPercentage(max_iter, i: int, next_step: int, step = 10):
	"""
	Function that shows the progressing percentage of an iterative process.

	@param max_iter (int): Maximal number of interations
	@param i (int): Current iteration
	@param next_step (int): Next step of the percentage (set to 0 for the first iteration and then use the return parameter)
	@param step (int, optional): Size of the step (should be a fraction of 100). Defaults to 10.

	@returns int: The updated next step
	"""
	if i*100.0/(max_iter-1) >= next_step:
		print("The progression is {}%".format(next_step))
		return next_step + step

	return next_step