Your task is to make a program in
L that takes
n as an input number, output a program
L that prints its own first
phas to be irreducible, See an example below.
PAY ATTENTION TO THIS RULE: If a program takes an input as
n, the first
ncharacters of the output would be the same as the first
ncharacters of the program taking
n + 1as input.
Standard loopholes apply
You have to make a full program.
A trailing newline of the output of the program
pis allowed if the first
ncharacters of the program
pdoesn't have a newline
I'm using pseudocode as
n = 10, an example of
p would be
PRINT "PRINT \"PRI"
PRINT "// comment"
because it breaks the first rule above (if you removed
com and still makes the same output).
This is code-golf, so you have to make your program shortest as possible (in bytes).