code: def as_int(width, height):
      "Return an integer ratio tuple like (16, 9)."
      gcd = get_gcd(width, height)
      return int(width / gcd), int(height / gcdf as_int(width, height):
      "Return an integer ratio tuple like (16, 9)."
      gcd = get_gcd(width, height)
      return int(width / gcd), int(height / gcd)
docs: Return an integer ratio tuple like (16, 9).