38
\$\begingroup\$

Print or return the following string:

zottffssentettffssenttttttttttttttttttttffffffffffffffffffffsssssssssssssssssssseeeeeeeeeennnnnnnnnno

This is the first letter of each of the numbers zero, one, two, all the way up to one hundred.

Standard I/O rules apply, but the output must be exactly as shown above, optionally with a single trailing newline. No other variation in output is permitted. This is code golf, shortest code in bytes wins.


Note this has also been cross-posted to Anarchy Golf (by me)

\$\endgroup\$
10
  • 44
    \$\begingroup\$ I thought this was some fake German word. \$\endgroup\$
    – Oskar Skog
    Oct 5, 2022 at 6:16
  • 7
    \$\begingroup\$ @OskarSkog I would have bet on some real city in Iceland. :-p \$\endgroup\$
    – Arnauld
    Oct 5, 2022 at 9:13
  • 2
    \$\begingroup\$ Well then. Neither Oskar's comment nor Arnauld's were visible when I made my first one. I'd have likely phrased it a bit differently if I'd realized I'm essentially composing a verbose "me too." \$\endgroup\$
    – zedmelon
    Oct 5, 2022 at 18:40
  • 2
    \$\begingroup\$ @zedmelon c'est la vie. Enjoy your visit and marvel at the golfers :-) \$\endgroup\$ Oct 6, 2022 at 3:06
  • 9
    \$\begingroup\$ It does look like the concatenation of "Zott" (german dairy company), "fressen" (devour) and "entfesseln" (unleash). At least when you glance over the title :D \$\endgroup\$
    – QBrute
    Oct 6, 2022 at 7:40

34 Answers 34

1
2
1
\$\begingroup\$

Knight (v2), 59 bytes

;O+'zo'+=a'ttffssen'+'te'+a'\';Wa;O+*A Aa 10'\'=aSaF1''O'o'

Try it online!

\$\endgroup\$
1
\$\begingroup\$

Julia 1.0, 46 bytes

~s="zo$(a="ttffssen")te$(a*prod([a...].^10))o"

Try it online!

\$\endgroup\$
1
\$\begingroup\$

J, 38 bytes

echo'zo',(,'te','o',~[,10&#)'ttffssen'

Nothing new here...

Attempt This Online!

echo'zo',(,'te','o',~[,10&#)'ttffssen'
                            'ttffssen'  NB. str literal
         (                 )            NB. monadic train
                       10&#             NB. repeat each char 10 times
                     [,                 NB. append , to input [
                'o',~                   NB. appends 'o' to result using ~
           'te',                        NB. append result to 'te'
          ,                             NB. append result to input
    'zo',                               NB. append result to 'zo'
echo                                    NB. print
\$\endgroup\$
0
\$\begingroup\$

Jelly, 40 bytes

“¡Œb»
Ñ;¢x⁵
“¡Ph%»Ḥ
“¡çı»;¢1£“ŀu»¢1£2£”o

Attempt This Online!

Basically just a couple of compressed strings, repeating some of them

\$\endgroup\$
1
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.