PRINTING NAME PATTERN IN PYTHON!!!!

Words
29
Reading
1 min
Listen
Play
7y
Text=input("Enter a word: ")
length=len(Text)
for row in range(length):
    for col in range(row+1):
        print(Text[col],end=" ")
   print()

This is the result when I run this program and entered my name when the program asks to enter the name.

result.png

You can run this program online here also.