I teach set the squawk first, then respond:
"G-ABCD squawk 1234
Cessna150 2 POB
Anytown to Anytown via Anywhere
Over YouKnowWhere
2,000' 1018
Request Basic Service
G-ABCD"
If you're using a modern Garmin transponder, setting the squawk is amazingly simple, a beautiful piece of kit.
If you're using a Trig, rather more of a faff but I've one student who is really good at it.
If you're using an old Bendix/King or Narco unit, good luck!
TOO