parameters: (arr)
return_statement: return arr
docstring: Shuffle an array using Fischer Yates algorithm
      [https://en.wikipedia.org/wiki/Fisher-Yates_shuffle]
  
      :param arr:
      :return: shuffled array
docstring_summary: Shuffle an array using Fischer Yates algorithm
      [https://en.wikipedia.org/wiki/Fisher-Yates_shuffle]
docstring_tokens: Shuffle an array using Fischer Yates algorithm [ https : // en . wikipedia . org / wiki / Fisher - Yates_shuffle ]
function: def FischerYatesShuffle(arr):
      """
      Shuffle an array using Fischer Yates algorithm
      [https://en.wikipedia.org/wiki/Fisher-Yates_shuffle]
  
      :param arr:
      :return: shuffled array
      """
  
      for i in range(0, len(arr)):
          j = random.randrange(0, i + 1)
          tmp = arr[i]
          arr[i] = arr[j]
          arr[j] = tmp
  
      return arr
function_tokens: def FischerYatesShuffle ( arr ) : for i in range ( 0 , len ( arr ) ) : j = random . randrange ( 0 , i + 1 ) tmp = arr [ i ] arr [ i ] = arr [ j ] arr [ j ] = tmp return arr