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 »

Posts by Endercraft2319‭

4 posts
66%
+2 −0
Challenges 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...

posted 2y ago by Endercraft2319‭

Answer
66%
+2 −0
Challenges Repeat the characters

Python 3, 34 bytes lambda a,b:''.join(b*i for i in a) Try it online!

posted 2y ago by Endercraft2319‭  ·  edited 2y ago by Endercraft2319‭

Answer
66%
+2 −0
Challenges 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!

posted 2y ago by Endercraft2319‭

Answer
60%
+1 −0
Challenges 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!

posted 2y ago by Endercraft2319‭

Answer