Can you fix my code

Modified Code


i have commented the error(line 46) and corrected it