Write a Python function called random permutation(iterable, r=None) that returns a randomly ordered tuple of…
Write a Python function called random permutation(iterable, r=None) that returns a randomly ordered tuple of…: a task in repo2rlenv-r2e (Harbor dataset). Behavior requirements: - Accept any iterable as input (list, tuple, range, str, generator, etc.). - Convert the iterable to an internal pool…
Part of FineEnvs/repo2rlenv-r2e.