help me to do this program
plz....
Attachments:
Answers
Answered by
0
Answer:
I can do it by python.
word="drum"
print (word[-1:-2])
Print (word[-1:-3])
Print (word[-1:-4])
Print (word[-1:-5])
Output:
m
um
rum
drum
Similar questions