Mercurial > repo
view wisdom/`hello @ 12221:d27a84eb0de8 draft
<b_jonas> python3 -cf = "/hackenv/wisdom/ci"; s = open(f).read(); s = s[:-1] + " Shamus Young invented them.\\n"; open(f,"w").write(s); print("%r"%s);
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 01 Dec 2019 15:30:22 +0000 |
parents | 2a34e647b1b7 |
children |
line wrap: on
line source
`hello prints variants of hello, world. To control format, pass a single letter as command-line argument. "@"=>"hello, world", "H"=>"hello, world.", P=>"hello, world!", "X"=>"hello, world,", take 1 letter later to s/h/H/, 2 letter later to s/o,/o/, 4 letter later to s/w/W/, lowercase to remove newline.