human
How to retrieve an element from a set without removing it?
assistant
Here is some code to retrieve an element from a set `s` without removing it

e = next(iter(s))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.