HF RL Explorer

Collection manipulation and transformation are common tasks in functional programming utilities. A library…

Collection manipulation and transformation are common tasks in functional programming utilities. A library…: a task in repo2rlenv-swe-flow (Harbor dataset). Examples: - list(iteritems( 1, 2 )) → 1, 2 - list(iteritems((1, 2))) → 1, 2 - list(iteritems({'a': 1})) → ('a', 1)

The task

**Examples:** - `list(iteritems([1, 2]))` → `[1, 2]` - `list(iteritems((1, 2)))` → `[1, 2]` - `list(iteritems({'a': 1}))` → `[('a', 1)]`

Part of FineEnvs/repo2rlenv-swe-flow.