Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Hello world! with limited character repetition

In a language of your choice, write a program that exactly outputs the characters Hello world! followed by a newline. The code:

  • should not use any character more than twice (alphanumeric, symbol, whitespace...anything)
  • should not use any external resources
  • should not use any user input
  • should not output anything else

An example of a valid python program:

print("He%so world!"%(2*'l'))

An example of an invalid python program (the character 'r' is used three times):

print("Hel"+chr(108)+'o world!')

Winner is whoever has the most votes after 14 days.

EDIT: A winner has been chosen! Thanks all for your work on this question!

Answer*

Cancel
9
  • 7
    \$\begingroup\$ HQ9+ outputs a comma though ;) \$\endgroup\$
    – Josh
    Commented Jan 17, 2014 at 15:48
  • 8
    \$\begingroup\$ I'd still keep your answer out...it is a popularity contest after all, rules are for the wind! \$\endgroup\$
    – Josh
    Commented Jan 17, 2014 at 15:53
  • 26
    \$\begingroup\$ @Josh This is one of the rare events where I miss the downvote button on comments. If we throw away rules there is nothing left to justify the contest at all. \$\endgroup\$
    – Howard
    Commented Jan 17, 2014 at 16:24
  • 5
    \$\begingroup\$ @Howard I feel dirty. I upvoted yours and Josh's comment \$\endgroup\$
    – Cruncher
    Commented Jan 17, 2014 at 17:03
  • 23
    \$\begingroup\$ All print Hello World questions are actually who can submit a HQ9+ answer faster questions. \$\endgroup\$
    – totymedli
    Commented Jan 18, 2014 at 5:49