





import random
from typing import Any
def      _A       (		SCREAMING_SNAKE_CASE     :   list						):





  """simple docstring"""



  for _ in range(len(SCREAMING_SNAKE_CASE						)						):
    a__	:					Dict										=random.randint(0       ,       len(SCREAMING_SNAKE_CASE						) - 1						)
    a__	:					Optional[int]										=random.randint(0       ,       len(SCREAMING_SNAKE_CASE						) - 1						)
    a__					,							a__	:					List[Any]										=data[b], data[a]
  return data


if __name__ == "__main__":
     UpperCAmelCase	:	str		     =       [0, 1, 2, 3, 4, 5, 6, 7]
     UpperCAmelCase	:	Dict		     =       ["""python""", """says""", """hello""", """!"""]
     print("""Fisher-Yates Shuffle:""")
     print("""List""", integers, strings)
     print("""FY Shuffle""", fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))








"""simple docstring"""





from __future__ import annotations







def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   if (voltage, current, resistance).count(0  ) != 1:
      raise ValueError("One and only one argument must be 0"  )
   if resistance < 0:
      raise ValueError("Resistance cannot be negative"  )
   if voltage == 0:
      return {"voltage": float(current * resistance  )}
   elif current == 0:
      return {"current": voltage / resistance}
   elif resistance == 0:
      return {"resistance": voltage / current}
   else:
      raise ValueError("Exactly one argument must be 0"  )


if __name__ == "__main__":
    import doctest

    doctest.testmod()


