error on the print/log line

Best I could come up with , not sure how to do the print or log thing