Slight error in my code..could you please correct it

question:

https://practice.geeksforgeeks.org/problems/find-first-repeated-character/0/?category[]=Strings&problemStatus=unsolved&difficulty[]=-1&page=1&sortBy=submissions&query=category[]StringsproblemStatusunsolveddifficulty[]-1page1sortBysubmissions

Code:

hello @aarijrab
pls read this carefully->

image

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.