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*

15
  • \$\begingroup\$ A picture would be nice :) \$\endgroup\$ Commented Nov 20, 2016 at 18:50
  • \$\begingroup\$ Could you post a picture or screenshot of the output? It's not even clear that this code prints anything to the screen \$\endgroup\$ Commented Nov 20, 2016 at 18:50
  • \$\begingroup\$ Your image got cut off \$\endgroup\$ Commented Nov 20, 2016 at 19:01
  • \$\begingroup\$ Should be fixed now :) \$\endgroup\$ Commented Nov 20, 2016 at 19:06
  • \$\begingroup\$ @AlexHall Thanks! I knew there must have been a way to make that loop waaaay shorter :) \$\endgroup\$ Commented Nov 20, 2016 at 20:18