Skip to main content

Timeline for Draw an ASCII Rectangle

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Sep 19, 2016 at 19:33 comment added xnor '-%%%dc'%~-h%45 also works for the same length.
Sep 19, 2016 at 13:42 history edited lynn CC BY-SA 3.0
added 29 characters in body
Sep 19, 2016 at 13:41 comment added lynn Oh, I thought %*c wasn’t even a thing! Thank you. :)
Sep 19, 2016 at 12:47 comment added flornquake Nice use of string formatting! You can save a byte using %c conversion: '-%*c'%(h-1,45)
Sep 19, 2016 at 12:31 review Low quality posts
Sep 19, 2016 at 12:38
Sep 19, 2016 at 12:12 history answered lynn CC BY-SA 3.0