Aiphabet

>>>Task

Word pyramid

Print the first letter of word once, the second letter twice, the third three times, and so on to the end. Each letter's run goes on its own line.

For word = "toby" that is:

t
oo
bbb
yyyy

Your code has to work for any word — the checks try another one.

The solution unlocks after a few minutes.

Editorstarting python
Ctrl + Enter
Output
Run your code to see the output.
Checks0 of 3 passing
  • Builds the pyramid for "toby"
  • Works for a different word
  • Uses a loop inside a loop