



'''simple docstring'''



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



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



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



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


if __name__ == "__main__":
		import doctest

		doctest.testmod()








'''simple docstring'''



import string



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



							__lowercase       	=''
							for i in sequence:
														__lowercase       	=ord(_lowerCAmelCase					)
														if 65 <= extract <= 90:
																					output += chr(155 - extract					)
														elif 97 <= extract <= 122:
																					output += chr(219 - extract					)
														else:
																					output += i
							return output



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



							__lowercase       	=string.ascii_letters
							__lowercase       	=string.ascii_lowercase[::-1] + string.ascii_uppercase[::-1]
							return "".join(
							    letters_reversed[letters.index(_lowerCAmelCase					)] if c in letters else c for c in sequence					)



def   _A       (   ):



							"""simple docstring"""



							from timeit import timeit

							print('Running performance benchmarks...'					)
							__lowercase       	='from string import printable ; from __main__ import atbash, atbash_slow'
							print(f"""> atbash_slow(): {timeit('atbash_slow(printable)'  ,   setup=_lowerCAmelCase					)} seconds"""					)
							print(f""">      atbash(): {timeit('atbash(printable)'  ,   setup=_lowerCAmelCase					)} seconds"""					)


if __name__ == "__main__":
		for example in ("ABCDEFGH", "123GGjj", "testStringtest", "with space"):
				print(f"{example} encrypted in atbash: {atbash(example)}")
		benchmark()



