Hacker News new | ask | show | jobs
by codeape 5132 days ago
Why the exec?

    print "Hello world\n" * 100
1 comments

That was the first thing that popped into my head upon reading the headline, though I abstracted it a bit:

  def print_many(n):
      print("hello, world\n" * n)
Though the `exec` option given above certainly is... interesting. :)