0
str_1= input("Enter:")

for i in range(len(str_1)+1):
        
        print(str_1[:i])
SuperStormer
  • 4,997
  • 5
  • 25
  • 35
David
  • 1

1 Answers1

0

It means get all the characters starting from the i'th position for every iteration

Mohammed Shahed
  • 840
  • 2
  • 15