Ancient history

Who invented the pyramids of Egypt?

Your question contains a misconception. The ancient Egyptians built the pyramids of Egypt, and they were not invented.