Skip to main content
6 of 26
added 11 characters in body
user41805
  • 13.2k
  • 6
  • 42
  • 88

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
  • Carrot

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

Most links go to Try It Online!

user62131