

'''simple docstring'''







import math
class 					__a   :

						def __init__(		self	:						str    ,			lowercase__	:						int    ,			lowercase__	:						List[str]    ,			lowercase__	:						Optional[Any])						->str:

							"""simple docstring"""



							_lowercase							=     x
							_lowercase							=     y
							_lowercase							=     z


						def __repr__(		self	:						int)						->str:

							"""simple docstring"""



							return f"""Point({self.x}, {self.y}, {self.z})"""






def 					_SCREAMING_SNAKE_CASE		(						snake_case_							,       snake_case_	):
	return math.sqrt(abs((b.x - a.x) ** 2 + (b.y - a.y) ** 2 + (b.z - a.z) ** 2	)	)


if __name__ == "__main__":
							import doctest

							doctest.testmod()







'''simple docstring'''







from __future__ import annotations

from collections.abc import Generator






def 					_SCREAMING_SNAKE_CASE		(						snake_case_	):
	if not isinstance(snake_case_							,       snake_case_	) or n < 1:
		raise Exception("""Sequence only defined for positive integers"""	)

	yield n
	while n != 1:
		if n % 2 == 0:
			n //= 2
		else:
			_lowercase							=     3 * n + 1
		yield n






def 					_SCREAMING_SNAKE_CASE		(						):
	_lowercase							=     43
	_lowercase							=     tuple(collatz_sequence(snake_case_	)	)
	print(snake_case_	)
	print(F"""Collatz sequence from {n} took {len(snake_case_	)} steps."""	)


if __name__ == "__main__":
							main()




