Print the Greek alphabet in words

This is different from Print the Greek alphabet! because it is in words.
This is different from "Hello, World!" because the output is different and much longer, leading to different techniques.
This is different from We're no strangers to code golf, you know the rules, and so do I because the output is different and much shorter, leading to different techniques.

Your task is to print this exact text: (the Greek alphabet in words)

alpha beta gamma delta epsilon zeta eta theta iota kappa lambda mu nu xi omicron pi rho sigma tau upsilon phi chi psi omega


Capitalization does not matter.

Remember, this is , so the code with the smallest number of bytes wins.

• How? It's just printing a static string. – Rɪᴋᴇʀ Oct 23 '16 at 4:23
• You know, had you posted this in the Sandbox, you could've avoid the downvotes by getting told it's a dupe of HW before posting it on main... – Mego Oct 23 '16 at 5:44
• Specifically, it could be considered either a dupe of HW or a dupe of codegolf.stackexchange.com/q/6043/45941 – Mego Oct 23 '16 at 5:46
• @mego I don't think it's a great challenge, but I don't think either of those are great dupe targets. Mostly because of length. HW is really short and strangers to code-golf is really long (and fairly compressible) – DJMcMayhem Oct 23 '16 at 12:52
• I agree that this should have been vetted in the Sandbox, I also agree that this ISN'T a dupe. The length of the required output plays a definite role here. – steenbergh Oct 24 '16 at 21:15

Python 2, 99 81 bytes

from unicodedata import*
i=913
exec"print name(unichr(i+(i>929)))[21:],;i+=1;"*24


Thanks to @xnor for saving 15 bytes!

This uses the unicodedata.name() method to get the name of every character. Unfortunately, the code point 930 gives an error for some reason, so that cost a few extra bytes.

This also prints the output in uppercase, which is allowed.

• Nice find with the unicode data. I golfed it to 81: from unicodedata import*;i=913;exec"print name(unichr(i+(i>929)))[21:],;i+=1;"*24. – xnor Oct 23 '16 at 9:09

Scala, 76 bytes

print((913 to 937)filter(930!=)map(Character getName _ drop 21)mkString " ")


Explanation:

print(                  //print...
(913 to 937)            //build a range of the codepoints for aplha to omega
filter(930!=)           //filter out that sigma in the middle
map(                    //map each char...
Character getName _     //to its full unicode name, e.g. "GREEK CAPITAL LETTER ALPHA"
drop 21                 //and drop the first 21 chars, aka "GREEK CAPITAL LETTER "
)
mkString " "            //join them with a space
)


Jolf, 7 bytes

RΜpΧ΅z♣


Replace ♣ with 0x05, or try it here! Or, use this link to generate the code. (Just click run, the code will be written into the code box.)

Explanation

RΜpΧ΅z♣
ΜpΧ     map Greek character alphabet
΅z    with the toGreek function (converts greek characters to names)
R     ♣  and join that with spaces.

• +1 for the toGreeek function – Loovjo Oct 27 '16 at 5:20

///, 119 117 bytes

/1/eta //2/psilon //3/a /alph3b1gamm3delt3e2z11th1iot3kapp3lambd3mu nu xi omicron pi rho sigm3tau u2phi chi psi omega


-2 bytes thanks to steenbergh

Try it online!

• You can save 2 bytes by doing this /2/psilon / – steenbergh Oct 26 '16 at 22:18

PHP, 68 characters, 92 bytes

<?=strtr(htmlentities(αβγδεζηθικλμνξοπρστυφχψω),["&"=>"",";"=>" "]);


uses UTF-8; prints a trailing space. Run with -nr.

• turn the lowercase greek alphabet into html entities
• remove ampersands and replace semicolons with spaces
• print

Try it online

BF, 1265 bytes

++++++++++.--[--->++++<]>+.+++++++++++.++++.--------.-------.-[->+++<]>.[->+++<]>++.+++.[--->+<]>---.+[->+++<]>++.-[->+++<]>.++[->+++<]>+.------.++++++++++++..------------.-[->+++<]>.+[->+++<]>+.+.+++++++.++++++++.+[->+++<]>++.-[->+++<]>.+[->+++<]>++.+++++++++++.+++.----------.+++.+++.-.-[->+++++<]>-.-[->++++<]>--.---[->+++<]>.[--->+<]>---.+[->+++<]>++.-[->+++<]>.+[->+++<]>++.[--->+<]>---.+[->+++<]>++.-[->+++<]>.---[->++++<]>.------------.---.[--->+<]>---.+[->+++<]>++.-[->+++<]>.-[--->++<]>-.++++++.+++++.+[->+++<]>++.-[->+++<]>.-[--->++<]>+.----------.-[++>-----<]>..[----->++<]>+.-[->+++<]>.++[--->++<]>.-----------.++++++++++++.-----------.++.---.-[->+++<]>.+[----->+<]>.++++++++.-[---->+<]>+++.+[----->+<]>+.+++++++.-[---->+<]>+++.--[->++++<]>.[->+++<]>+.[--->+<]>---.+++++[->+++<]>.--.----.------.-[--->+<]>----.---.-.-[->+++++<]>-.[-->+++++++<]>.-------.[--->+<]>---.---[----->++<]>.----------.+++++++.[--->+<]>-----.---[->++++<]>-.----------.--.++++++.------------.-[->+++<]>.---[->++++<]>.+[->+++<]>++.--[--->+<]>.-[---->+<]>+++.---[->++++<]>+.-----.+++.----------.+++.+++.-.-[->+++++<]>-.[-->+++++++<]>.--------.+.[--->+<]>---.+[->+++<]>.+++++.+.[--->+<]>---.[-->+++++++<]>.+++.----------.[--->+<]>---.+++++[->+++<]>.--.--------.++.------.>++++++++++.

• How and WHY...? – Magic Octopus Urn Nov 15 '16 at 16:26
• Why not? Sometimes longer can be better :) @carusocomputing – Timtech Nov 15 '16 at 22:59

Mathematica, 85 66 bytes

Thanks to ngenisis for pointing the way to a 19-byte savings!

CharacterName@Alphabet@"Greek"~Riffle~" "~StringDelete~"Curly"<>""


Returns the string with every Greek letter capitalized. Just thought it would be fun to coerce Mathematica into doing all the work!

Alphabet@"Greek" returns a nicely formatted list of the Greek alphabet characters; CharacterName@ converts each of those characters into a string naming that character, and ~Riffle~" " inserts a space between each such string. Unfortunately, two of the letters are called "CurlyEpsilon" and "CurlyPhi", and so we need ~StringDelete~"Curly" to fix that. Finally, <>"" concatenates all these strings together.

Previous submission:

StringDelete[ToString@FullForm@Alphabet@"Greek","List"|"Curly"|"["|"]"|"\""|"\\"|","]


Alphabet@"Greek" returns a nicely formatted list of the Greek alphabet characters as before, but FullForm forces it to show the internal structure rather than the nice formatting; ToString converts that internal structure into a string that can be manipulated:

"List[\"\\[Alpha]\", \"\\[Beta]\", \"\\[Gamma]\", \"\\[Delta]\", \"\\[CurlyEpsilon]\", \"\\[Zeta]\", \"\\[Eta]\", \"\\[Theta]\", \"\\[Iota]\", \"\\[Kappa]\", \"\\[Lambda]\", \"\\[Mu]\", \"\\[Nu]\", \"\\[Xi]\", \"\\[Omicron]\", \"\\[Pi]\", \"\\[Rho]\", \"\\[Sigma]\", \"\\[Tau]\", \"\\[Upsilon]\", \"\\[CurlyPhi]\", \"\\[Chi]\", \"\\[Psi]\", \"\\[Omega]\"]"


From here, StringDelete[..."List"|"Curly"|"["|"]"|"\""|"\\"|","] gets rid of all the stuff we don't want.

• StringDelete[Riffle[CharacterName@Alphabet@"Greek"," "]<>"","Curly"] – ngenisis Jan 26 '17 at 1:45
• oooo, CharacterName! – Greg Martin Jan 26 '17 at 7:21

Pyth - 104 83 bytes

Base conversion with separator f. Unfortunately, it starts with smallest code point a.

tX."azT¢ç§ªVôòé!þm<EÞ6ä¿û2_w}MªÍ]·¥ünBPæúòRÜÔYcWed¼(É?«/~{"\fd

• Python 2 is beating you. :D – mbomb007 Jan 25 '17 at 21:32
• @mbomb007 :/ that doesn't count... – Maltysen Jan 25 '17 at 21:35
• Pyth is just short Python, right? – mbomb007 Jan 25 '17 at 21:51

Jelly, 58 bytes

“ßẓ⁸!ȧøḌçỊ¤¢Q=4QẠė⁷¤yż>S⁺ẓṬḄṂċK~⁼Ṛ7&⁼s<ụɦ³ḳMŻyVẉƑƭ6Ẋ⁵ỌQ⁸ẹ»


Try it online!

Perl 6, 47 bytes (44 characters)

put squish ~«map {.uniname~~/\w+$/},"α".."ω"  Prints LAMDA instead of LAMBDA, bus so do the other Unicode database based solutions. Try it online! • A 70-byte solution that prints the exact output: put (lc squish ~«map {.uniname~~/\w+$/},"α".."ω").subst("md","mbd") – bb94 May 1 '17 at 23:27

05AB1E, 86 bytes

“¤±¢ªœÏ¤œ epsilon zeta etaìÛ iota kappaÊ¯ mu nu xi omicron¾î rho¿Ã tau upsilonÐ¢Â¶á‚Åµ


Try it online!

Perl6 (71)

(913..937).grep(*!= 930)>>.chr>>.uniname>>.substr(21).join(" ").lc.say