It will simply take the color part of the string and replace it with “red”: (defn paint-it-red [s] (str "red " (last (clojure.string/split s #"\s")))) It ...
確定! 回上一頁