Anyone please explain why we use .name in this solution?

Murthy Pitchika:
Anyone please explain why we use .name in this solution?

Tej_Singh_Rana:
Hello, @Murthy Pitchika
To see the use of .name, don’t redirect output to the file.