Assignment 09 — string manipulation
Due Tuesday September 12
Problem prowess.py
- Practices some string manipulation. The program task is to
- Prompt and get a line of text.
- Determine and print the length of the text.
- Determine and print the index of last character in the text.
- Determine and print the last character of the text.
- Prints its results.
Two possible program runs
Enter text: Hoos got your back
Input length: 18
Index of last input character: 17
Last input character: k
Enter text: And the winner is ...
Input length: 21
Index of last input character: 20
Last input character: .