It sounds like the lecturer is saying
Before solving the puzzle, let's write a second version of this function that is more compact. We will call this function random walk 2. We will perform our cell and programmers duty and write a docstring.
I am confused about the last sentence. Writing a docstring is one of the duties of programmers; this is easy to understand. What does "perform our cell" mean? I searched this phrase on many online dictionaries and got no results.
Could someone give a clue?