the monopolist and the perfect competitor differ in that?

They differ in the number of competitors. A monopolist, by definition, is the one and only firm producing some good or service. Under perfect competition, we assert there are a multitude of firms producing.