In classes something not working

jupyter notebook type krne k baad bhi hi ho rha hh error dikha rha hh