Which writer of the Dr. Who episode "The Pyramid at the End of the World" also serves as the executive producer of the series?
The Pyramid at the End of the World: "The Pyramid at the End of the World" is the seventh episode of the tenth series of the British science fiction television series "Doctor Who". The Pyramid at the End of the World:  It is written by Peter Harness and Steven Moffat and was broadcast on 27 May 2017 on BBC One. Doctor Who (series 10):  The series is led by head writer and executive producer Steven Moffat, alongside executive producer Brian Minchin.
Steven Moffat