HF RL Explorer

Write a Python function called consume that advances an iterator by a specified number of steps without…

Write a Python function called consume that advances an iterator by a specified number of steps without…: a task in repo2rlenv-r2e (Harbor dataset). The function signature should be: consume(iterator, n=None)

Part of FineEnvs/repo2rlenv-r2e.