Value error problem - file is read only for a snippet

I make it but dont work sir