
from __future__ import annotations

from typing import Any






class        SCREAMING_SNAKE_CASE__    (							SCREAMING_SNAKE_CASE_    ):

							"""simple docstring"""






							pass






class        SCREAMING_SNAKE_CASE__    :

							"""simple docstring"""






							def __init__(  self     ,	SCREAMING_SNAKE_CASE_			)->   None:





													'''simple docstring'''






													__UpperCamelCase       =			data
													__UpperCamelCase       =			None



							def __iter__(  self			)->   Dict:





													'''simple docstring'''






													__UpperCamelCase       =			self
													__UpperCamelCase       =			[]
													while node:
																			if node in visited:
																									raise ContainsLoopError
																			visited.append(SCREAMING_SNAKE_CASE_			)
																			yield node.data
																			__UpperCamelCase       =			node.next_node



							@property
							def     A__		(  self			)->   bool:





													'''simple docstring'''






													try:
																			list(self			)
																			return False
													except ContainsLoopError:
																			return True


if __name__ == "__main__":
				lowercase__							:							str									=			Node(1)
				lowercase__							:							List[str]									=			Node(2)
				lowercase__							:							List[str]									=			Node(3)
				lowercase__							:							Optional[Any]									=			Node(4)
				print(root_node.has_loop)  # False
				lowercase__							:							List[Any]									=			root_node.next_node
				print(root_node.has_loop)  # True

				lowercase__							:							str									=			Node(5)
				lowercase__							:							Tuple									=			Node(6)
				lowercase__							:							Optional[int]									=			Node(5)
				lowercase__							:							Optional[int]									=			Node(6)
				print(root_node.has_loop)  # False

				lowercase__							:							Tuple									=			Node(1)
				print(root_node.has_loop)  # False






def 	A_ (							snake_case							:   float )      ->    float:



						'''simple docstring'''

						if edge <= 0 or not isinstance(snake_case ,      snake_case ):
												raise ValueError('''Length must be a positive.''' )
						return 3 * ((25 + 10 * (5 ** (1 / 2))) ** (1 / 2)) * (edge**2)




def 	A_ (							snake_case							:   float )      ->    float:



						'''simple docstring'''

						if edge <= 0 or not isinstance(snake_case ,      snake_case ):
												raise ValueError('''Length must be a positive.''' )
						return ((15 + (7 * (5 ** (1 / 2)))) / 4) * (edge**3)


if __name__ == "__main__":
				import doctest

				doctest.testmod()




