Kodekloud Engineer task issue

Due to internet issue, I got disconnected, I opened new cmd terminal in task and completed the task, but it took the output from the first terminal.