Skip to main content
5 of 26
added Japt and Pyth, rearrange for clarity
ETHproductions
  • 50.1k
  • 6
  • 94
  • 240

Polyglot of purely literal answers, 9 bytes

333111222

This is a community wiki post for collecting answers that are just a literal that the language in question prints out automatically. Because it's a community wiki, feel free to edit it to add more languages where it works.

This program works in:

  • PHP
  • HTML (arguably not a language)
  • Jelly
  • 7 (more interesting, because the program's interpreted as both data and code; the first 3 prints the data, the rest of the program is useless stack manpulation)
  • CJam
  • Japt

Assuming the final newline is considered irrelevant, this is valid in quite a few more languages:

Links go to Try It Online!

user62131