Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

2 of 2
Commonmark migration

Bash, 66 bytes

A=`printf %c {A..Z}`
for i in {0..25};do echo ${A:$i}${A::$i};done

I create a full alphabet in A, then print 26 rotated versions of it by taking the characters beginning at n and appending those preceding position n.

Toby Speight
  • 7k
  • 1
  • 30
  • 43

AltStyle によって変換されたページ (->オリジナル) /