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
  • 8
    \$\begingroup\$ You can make the second example into for i in[0]*x:s+=input() to save another space. Also, you can remove the space between the exec and the first quotation mark to get exec's+=input();'*x \$\endgroup\$ Commented Apr 19, 2011 at 6:12
  • \$\begingroup\$ shouldn't the second line be: for i in[0]*x:s+=input() \$\endgroup\$ Commented Aug 5, 2015 at 7:47
  • \$\begingroup\$ Dupe (newer but more upvotes) \$\endgroup\$ Commented Apr 17, 2018 at 16:07