Skip to main content
edited body
Source Link
Emigna
  • 53.2k
  • 5
  • 44
  • 164

05AB1E, 15 14 13 bytes

Saved 1 byte thanks to Adnan

A¹¡н«ƶ€S»¶¡āú» 

Try it online!Try it online! or the Ascii art versionAscii art version

Explanation

A # push lowercase alphabet ¹¡ # split at input н # get the first part « # append the input ƶ # repeat each a number of times corresponding to its 1-based index €S # split each to a list of chars » # join on spaces and newlines ¶¡ # split on newlines āú # prepend spaces to each corresponding to its 1-based index » # join on newlines 

05AB1E, 15 14 13 bytes

Saved 1 byte thanks to Adnan

A¹¡н«ƶ€S»¶¡āú» 

Try it online! or the Ascii art version

Explanation

A # push lowercase alphabet ¹¡ # split at input н # get the first part « # append the input ƶ # repeat each a number of times corresponding to its 1-based index €S # split each to a list of chars » # join on spaces and newlines ¶¡ # split on newlines āú # prepend spaces to each corresponding to its 1-based index » # join on newlines 

05AB1E, 15 14 13 bytes

Saved 1 byte thanks to Adnan

A¹¡н«ƶ€S»¶¡āú» 

Try it online! or the Ascii art version

Explanation

A # push lowercase alphabet ¹¡ # split at input н # get the first part « # append the input ƶ # repeat each a number of times corresponding to its 1-based index €S # split each to a list of chars » # join on spaces and newlines ¶¡ # split on newlines āú # prepend spaces to each corresponding to its 1-based index » # join on newlines 
deleted 13 characters in body
Source Link
Emigna
  • 53.2k
  • 5
  • 44
  • 164

05AB1E, 15 1414 13 bytes

Saved 1 byte thanks to Adnan

ADIk>£ƶ€S»¶¡āú»A¹¡н«ƶ€S»¶¡āú» 

Try it online!Try it online! or the Ascii art versionAscii art version

Explanation

ADA # push 2 copies of thelowercase alphabet   Ik¹¡ # get the index ofsplit theat input in the alphabet   >н # increment  get the first £part  « # take this many characters# fromappend the alphabetinput   ƶ # repeat each a number of times corresponding to its 1-based index   €S # split each to a list of chars   » # join on spaces and newlines   ¶¡ # split on newlines   āú # prepend spaces to each corresponding to its 1-based index   » # join on newlines 

05AB1E, 15 14 bytes

ADIk>£ƶ€S»¶¡āú» 

Try it online! or the Ascii art version

Explanation

AD # push 2 copies of the alphabet   Ik # get the index of the input in the alphabet   > # increment  £ # take this many characters from the alphabet   ƶ # repeat each a number of times corresponding to its 1-based index   €S # split each to a list of chars   » # join on spaces and newlines   ¶¡ # split on newlines   āú # prepend spaces to each corresponding to its 1-based index   » # join on newlines 

05AB1E, 15 14 13 bytes

Saved 1 byte thanks to Adnan

A¹¡н«ƶ€S»¶¡āú» 

Try it online! or the Ascii art version

Explanation

A # push lowercase alphabet ¹¡ # split at input н # get the first part  « # append the input ƶ # repeat each a number of times corresponding to its 1-based index €S # split each to a list of chars » # join on spaces and newlines ¶¡ # split on newlines āú # prepend spaces to each corresponding to its 1-based index » # join on newlines 
deleted 454 characters in body
Source Link
Emigna
  • 53.2k
  • 5
  • 44
  • 164

05AB1E, 1515 14 bytes

ADIk>£ƶvySðýNú,ADIk>£ƶ€S»¶¡āú» 

Try it online!Try it online! or the Ascii art version

Explanation

AD  # push 2 copies of the lowercase alphabet Ik  # get the index of the input in the alphabet >  # increment £  # take thatthis many elementscharacters from the alphabet ƶ  # multiplyrepeat each elementa bynumber of times corresponding to its 1-based index v€S # forsplit each elementto ina thelist resultingof listchars yS » # split it# tojoin aon listspaces ofand charsnewlines ðý¶¡  # joinsplit byon spacesnewlines āú  # prepend N spaces where N isto theeach elementscorresponding indexto inits the1-based listindex ,»  # printjoin withon newlinenewlines 

05AB1E, 15 bytes

ADIk>£ƶvySðýNú, 

Try it online!

Explanation

AD # push 2 copies of the lowercase alphabet Ik # get the index of the input in the alphabet > # increment £ # take that many elements ƶ # multiply each element by its index v # for each element in the resulting list yS # split it to a list of chars ðý # join by spaces  # prepend N spaces where N is the elements index in the list , # print with newline 

05AB1E, 15 14 bytes

ADIk>£ƶ€S»¶¡āú» 

Try it online! or the Ascii art version

Explanation

AD  # push 2 copies of the alphabet Ik  # get the index of the input in the alphabet >  # increment £  # take this many characters from the alphabet ƶ  # repeat each a number of times corresponding to its 1-based index €S # split each to a list of chars » # join on spaces and newlines ¶¡  # split on newlines āú  # prepend spaces to each corresponding to its 1-based index »  # join on newlines 
added 573 characters in body
Source Link
Emigna
  • 53.2k
  • 5
  • 44
  • 164
Loading
Source Link
Emigna
  • 53.2k
  • 5
  • 44
  • 164
Loading