5 ms·
Why the exec? print "Hello world\n" * 100
by codeape 14y ago
Why the exec?
print "Hello world\n" * 100
- kibwen 14y agoThat 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. :)