original_docstring:  Adjusts the r, g, and b values of an image to create a sepia image.
      Written by Anthony Luo
      :param img: Full colour image
      :type img: 'Image'
      :param disp: whether or not to display the image
      :type disp: bool
      :param save: whether or not to save the image
      :type save: bool
      :return: sepia-image
      :rtype: 'Image'
      
docstring: Adjusts the r, g, and b values of an image to create a sepia image.
  Written by Anthony Luo
docstring_tokens: Adjusts the r g and b values of an image to create a sepia image . Written by Anthony Luo
code: def sepia( img, disp = True, save = True ):
      """ Adjusts the r, g, and b values of an image to create a sepia image.
      Written by Anthony Luo
      :param img: Full colour image
      :type img: 'Image'
      :param disp: whether or not to display the image
      :type disp: bool
      :param save: whether or not to save the image
      :type save: bool
      :return: sepia-image
      :rtype: 'Image'
      """
      sep_img = grayscale(img)
      for x, y, (r, g, b) in sep_img:
          if r < 63:
              set_color(sep_img, x, y, create_color(r * 1.1, g, b * 0.9))
          elif r <= 191:
              set_color(sep_img, x, y, create_color(r * 1.15, g, b * 0.85))
          else:
              set_color(sep_img, x, y, create_color(r * 1.08, g, b * 0.93))
      if disp:
          show(sep_img)
      if save:
          save_as(sep_img, 'returns/sepia.jpg')
      return sep_img
code_tokens: def sepia ( img , disp = True , save = True ) : sep_img = grayscale ( img ) for x , y , ( r , g , b ) in sep_img : if r < 63 : set_color ( sep_img , x , y , create_color ( r * 1.1 , g , b * 0.9 ) ) elif r <= 191 : set_color ( sep_img , x , y , create_color ( r * 1.15 , g , b * 0.85 ) ) else : set_color ( sep_img , x , y , create_color ( r * 1.08 , g , b * 0.93 ) ) if disp : show ( sep_img ) if save : save_as ( sep_img , 'returns/sepia.jpg' ) return sep_img
short_docstring: Adjusts the r, g, and b values of an image to create a sepia image.
short_docstring_tokens: Adjusts the r g and b values of an image to create a sepia image .
comment: """ Adjusts the r, g, and b values of an image to create a sepia image.
      Written by Anthony Luo
      :param img: Full colour image
      :type img: 'Image'
      :param disp: whether or not to display the image
      :type disp: bool
      :param save: whether or not to save the image
      :type save: bool
      :return: sepia-image
      :rtype: 'Image'
      """