intermediate
Code Explainer
Explains the logic and functionality of a provided code snippet in plain English.
📝 Prompt Content
Explain what the following code snippet does step-by-step. Break down the logic of the loops and conditional statements, and describe the final output in plain English without using technical jargon where possible.