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*

3
  • 1
    \$\begingroup\$ Nice answer. Some things to golf: the I# can be Ð (Duplicate is indeed not allowed, but triplicate is still available); and the ε and } can be removed, since l'€ƒQ vectorizes the list automatically. \$\endgroup\$ Commented Jul 23, 2020 at 11:48
  • 1
    \$\begingroup\$ Instead of modifying the current word you can intersperse () ["and", "and", "and"] with it, flatten the list, and the use the final join to add the spaces: #Ðl'€ƒQÅÏ'€ƒ3иs.ý}˜ðý \$\endgroup\$ Commented Jul 23, 2020 at 12:15
  • 1
    \$\begingroup\$ Nice new approach. You can golf 1 more byte by changing the Þ5£ to 5∍ \$\endgroup\$ Commented Jul 23, 2020 at 12:57