I have provided correct output but still shows error. Please support

Which lab is this? You need to tell us what you’re trying to solve here – if it’s a lab, then a link to the lab on our kodekloud.com site. If it’s KodeKloud Engineer, then we need the name of the task, and what kind of task (100Days of Azure, Azure Level 2, etc.).