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

4 of 5
added 45 characters in body
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89

Python 2, (削除) 63 (削除ここまで) (削除) 61 (削除ここまで) 59 bytes

-2 bytes thanks to Rod. -2 bytes thanks to Felipe Nardi Batista.

i=1
exec"print' '*i+'%c '%(i+64)*i;i+=1;"*(ord(input())-64)

Try it online!

totallyhuman
  • 17.4k
  • 3
  • 34
  • 89

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