Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for Endercraft2319‭

Type On... Excerpt Status Date
Edit Post #284289 Initial revision about 3 years ago
Answer A: Caesar shift cipher
[Python 3.8 (pre-release)], 98 bytes lambda s,n:''.join((c,chr((ord(c)+n-1-(o:=(64,96)[c.islower()]))%26+o+1))[c.isalpha()] for c in s) Try it online!
(more)
about 3 years ago
Edit Post #284287 Post edited:
about 3 years ago
Comment Post #283142 just using while cuts down on some bytes <!-- language-all: lang-python --> i=13 while i:print'ZYWUSQOMKIGECABDFHJLNPRTVX'[i:i+14];i-=1 [Try it online!][TIO-ktuzztbk] [TIO-ktuzztbk]: https://tio.run/##K6gsycjPM/r/P9PW0JirPCMzJ1Uh06qgKDOvRD0qMjw0ONDf19vT3dXZ0cnFzcPLxy8gKCQsQj060yp...
(more)
about 3 years ago
Edit Post #284288 Initial revision about 3 years ago
Answer A: Stairs? Stairs! Stairs.
[JavaScript (Node.js)], 91 bytes (n)=>[...Array(n)].map((,i)=>console.log((' '.repeat(n-i)+'/'+'##'.repeat(i)).slice(3))) Try it online!
(more)
about 3 years ago
Edit Post #284287 Initial revision about 3 years ago
Answer A: Repeat the characters
[Python 3], 34 bytes lambda a,b:''.join(bi for i in a) Try it online!
(more)
about 3 years ago
Edit Post #284285 Initial revision about 3 years ago
Answer A: 99 Shortened Bottles of Beer
[Python 3], 202 bytes a,i='bottle%s of beer on the wall',99 while i:i-=1;x=a%'s'[:i];print(i+1,x+',',i+1,x[:-12]+'.\n'+'GToa kteo otnhee dsotwonr ea nadn dp absusy isto maer omuonrde,,'[i>0::2],i or 99,a%'s'[:i!=1]+'.\n') Try it online!
(more)
about 3 years ago