text='abcdef'
leng=len(text)
mylist=list(text)
def string():
for i in range(leng-3):
for j in range(leng-i):
print(text[i],end='')
print()
string()
#itrieddoingreversetoo
#theoutputshouldbe:
'''
aaaaaa
bbbbb
cccc
dddddd
eeeee
ffff
each letter 6-5-4times in order
'''
how to print out the letters of the word with a certain pattern? ex. abcdef print a-6times, b-5 time, c-4 times, and the next letter again 6 times? I tried doing reverse too. how to print out the left def letters each 6-5-4 times in order?