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*

2
  • 2
    \$\begingroup\$ 35 bytes in CoffeeScript f=->f()for c in prompt()when c=='*' (I don't want to make another answer since it is a direct copy of yours) \$\endgroup\$ Commented Aug 5, 2016 at 12:57
  • 2
    \$\begingroup\$ I think you'd save a byte by going with a regular function (def f() instead of the f=lambda). \$\endgroup\$ Commented Aug 5, 2016 at 13:48