I need to remember to turn off Co-Pilot before trying the "interview question of the week". Given the example input/output, pasted in as a comment, Co-Pilot correctly inferred the rest of the code. I just had to "[Enter], [Tab], [Enter], [Tab]..." about 4 times.
1 likes 1 replies
?