code with string

practice #7