Write a piece of code that prints out itself

1

I'm new to this site, so I don't know whether this challenge already appeared:

Write a piece of source code, so that after running the code, it prints out exactly (i.e. not longer, not shorter) the source code itself.

The code can be in any programming language, but preferably in commonly used ones, such as the C family, Java, Python, Haskell, Ruby...

WhatsUp

Posted 2019-09-28T18:43:30.597

Reputation: 119

Question was closed 2019-09-28T18:44:20.500

Duplicate – Unrelated String – 2019-09-28T18:44:39.887

4Ah, thanks for the link! – WhatsUp – 2019-09-28T18:46:12.487

No answers