yeah but the prompt itself generally adds sufficient randomness to avoid the same verbatim answer each time.
as an example just go ask it to write any sufficiently average function. use different names and phrases for what the function should do; you'll generally get a different flavor of answer each time, even if the functions all output the same thing.
sometimes the prompt even forces the thing to output the most naive implementation possible due to the ordering or perceived priority of things within the requesting prompt.
it's fun to use as a tool to nudge it into what you want once you get the hang of the preconceptions it falls into.