I was going to submit an answer but it would have to import a module (which is built-in to Python). This makes my answer two-lined, because of the import. Is this acceptable?

  • \$\begingroup\$ no, but in most languages (not python though) it's shorter. \$\endgroup\$ – noɥʇʎԀʎzɐɹƆ Aug 15 '16 at 23:40

Of course it is acceptable. :)

Your answer can span as many lines as you like (in fact, there are many languages used around here where most programs have to span multiple lines). Just add the required linefeeds to your byte count. Simple example:


Would be 11 bytes. (Unless the program requires a trailing linefeed as well, in which case it would be 12 bytes, but I don't think you'll have to worry about that in Python.)

  • 1
    \$\begingroup\$ Thanks! I'll submit the answer :) \$\endgroup\$ – iPhynx Aug 15 '16 at 16:38
  • \$\begingroup\$ Oops. I won't accept it... Built-in constants that contain 9 or more of the above characters are disallowed. \$\endgroup\$ – iPhynx Aug 15 '16 at 16:40
  • 3
    \$\begingroup\$ Your comment seems to be quite out of context. If you are asking with regard of a specific question please link it. \$\endgroup\$ – flawr Aug 15 '16 at 18:00
  • \$\begingroup\$ Yeah. Sorry. Question \$\endgroup\$ – iPhynx Aug 17 '16 at 17:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .