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 8
added 454 characters in body
ZaMoC
  • 25.5k
  • 2
  • 32
  • 87

#Mathematica, 134 bytes

outputs a list of lists of characters

Thread[PadRight[Table[#,If[(d=Min@Position[Alphabet[],If[UpperCaseQ@#,ToLowerCase@#,#]])==\[Infinity],1,d]]&/@Characters@#]/. 0->" "]& 

Try it online!

but if you want to see the output as it is in the test case try this (162 bytes) code
Try it online!

ZaMoC
  • 25.5k
  • 2
  • 32
  • 87

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