Write a program to display the given pattern for a string input.
Sample Input : SCHOOL
Sample output:
SCHOOL
SCHOO
SCHO
SCH
SC
S
Answers
Answered by
1
Answer:
school on 1st street and I think it will not ask for help from a dialogu
Answered by
0
Answer:
#Please make me brainliest.
Explanation:
word = str(input("Enter the word: "))
while len(word) != 0:
print(word)
word = word[:-1]
Similar questions