Defer
Defer[expr] yields an object that displays as the unevaluated form of expr, but evaluates when used as input.
Examples
Defer an expression:
Defer[1 + 1]
(* 1 + 1 - displays unevaluated *)Copy-paste the output and it evaluates:
(* If you copy "1 + 1" from above and evaluate: *)
1 + 1
(* 2 *)Useful for generating code:
Defer[Plot[Sin[x], {x, 0, 2 Pi}]]Please visit the official Wolfram Language Reference for more details.