Computer Science, asked by shyamsunmalto, 6 months ago

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 eshithathatikunta376
1

Answer:

school on 1st street and I think it will not ask for help from a dialogu

Answered by alienfighter0000
0

Answer:

 #Please make me brainliest.

Explanation:

word = str(input("Enter the word: "))

while len(word) !=  0:

   print(word)

   word = word[:-1]

Similar questions