The Tragedy of Hamlet, Prince of Denmark is a tragedy play by William Shakespeare. It is one of his best-known plays, and many lines have become famous quotations. The play is often just called Hamlet.
Hamlet was written between 1600 and 1602, and first printed in 1603. With 4042 lines and 29551 words, Hamlet is the longest Shakespearean play.[1] The play was based on another play also named Hamlet, which is now lost, unlike the other Hamlet. It’s also based on a story called Amleth by Saxo Grammaticus.