When I run this code its gaves an error

When I run this code its gaves an error

Try removing the “end)” it is highlighted red so that’s the source of the error.