


from __future__ import annotations

from typing import Any







def 							lowerCAmelCase_	(   __lowerCamelCase      ):
							create_state_space_tree(__lowerCamelCase				,      []				,      0      )







def 							lowerCAmelCase_	(   __lowerCamelCase				,      __lowerCamelCase				,      __lowerCamelCase      ):

							if index == len(__lowerCamelCase      ):
														print(__lowerCamelCase      )
														return

							create_state_space_tree(__lowerCamelCase				,      __lowerCamelCase				,      index + 1      )
							current_subsequence.append(sequence[index]      )
							create_state_space_tree(__lowerCamelCase				,      __lowerCamelCase				,      index + 1      )
							current_subsequence.pop()


if __name__ == "__main__":
			_snake_case	:						list[Any]         =							[3, 1, 2, 4]
			generate_all_subsequences(seq)

			seq.clear()
			seq.extend(["A", "B", "C"])
			generate_all_subsequences(seq)








'''simple docstring'''


from __future__ import annotations


def 						__a(SCREAMING_SNAKE_CASE_	:       list     ):



    '''simple docstring'''





    if not nums:
        raise ValueError("List is empty"     )
    return sum(SCREAMING_SNAKE_CASE_     ) / len(SCREAMING_SNAKE_CASE_     )


if __name__ == "__main__":
       import doctest

       doctest.testmod()


