`` The King and I '' is based on Margaret Landon 's play , Anna and the King of Siam , which is in turn derived from the memoirs of Anna Leonowens , governess to the children of King Mongkut of Siam in the early 1860s .
The King and I is based on a play .