Timeline for Write a program to elasticize strings
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 17, 2021 at 15:26 | comment | added | movatica |
know your language... there is an offset argument to enumerate :) - still 47 bytes though: lambda s:''.join(c*i for i,c in enumerate(s,1))
|
|
Apr 13, 2017 at 12:39 | history | edited | CommunityBot |
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
|
|
Jun 20, 2016 at 20:13 | history | edited | jqkul | CC BY-SA 3.0 |
shaved off a byte - thanks mego
|
Jun 20, 2016 at 20:07 | comment | added | user45941 |
c*-~i is shorter than c*(i+1) .
|
|
Jun 20, 2016 at 20:06 | history | answered | jqkul | CC BY-SA 3.0 |