* Ecco means "here" or "look"
* presto means "quickly" or "behold"
This phrase was commonly used by magicians and illusionists in the 19th century as a way to introduce a magical trick or reveal. They would say "Ecco presto!" as they performed their magic, essentially meaning "Behold, quickly!"
Over time, "ecco presto" was shortened to "hey presto" and became a more general expression of surprise, wonder, or the sudden appearance of something. It's a fun and whimsical way to express that something has happened quickly and easily, much like a magician's trick.