






from .imports import is_tqdm_available


if is_tqdm_available():
	from tqdm.auto import tqdm as _tqdm

from ..state import PartialState
def 					snake_case_						(   lowerCAmelCase_				:  bool = True				,				*lowerCAmelCase_				:  Any				,				**lowerCAmelCase_				:  str					):
							if not is_tqdm_available():
														raise ImportError("""Accelerate's `tqdm` module requires `tqdm` to be installed. Please run `pip install tqdm`."""					)
							__lowercase					:							Optional[int]			=   False
							if main_process_only:
														__lowercase					:							Dict			=   PartialState().local_process_index == 0
							return _tqdm(*lowerCAmelCase_				,				**lowerCAmelCase_				,				disable=lowerCAmelCase_					)







from math import pi
def 					snake_case_						(   lowerCAmelCase_				:  int				,				lowerCAmelCase_				:  int					):
							return 2 * pi * radius * (angle / 360)


if __name__ == "__main__":
	print(arc_length(90, 10))