Timeline for Print all ASCII alphanumeric characters without using them
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 20, 2022 at 21:13 | comment | added | benrg |
Various golfing suggestions: 𝓬𝓱𝓻 is 12 bytes while ᶜʰʳ is only 7. Also, you could put something like ª=ᶜʰʳ;º=ºʳᵈ at the top to save tons of bytes. You could replace ord('''\n''') with something like -~ord('\t') . If you set _=ord('[') and both add and subtract from it, then all arguments to ord could be ASCII. All that aside, it is possible to loop with builtins. This answer has two 119-byte solutions, one that loops with map , range , etc., and one that __import__ s the string module.
|
|
Nov 18, 2020 at 14:51 | history | undeleted | xigoi | ||
Nov 18, 2020 at 14:51 | history | edited | xigoi | CC BY-SA 4.0 |
deleted 53 characters in body
|
Nov 18, 2020 at 14:46 | history | deleted | xigoi | via Vote | |
Nov 18, 2020 at 14:45 | history | answered | xigoi | CC BY-SA 4.0 |