Lab 4- Strings and Lists

In this program I am using strings to make my name spelled in reverse by measuring the length of my name. For example, a string contains characters and ordering by starting with “0”, my name has five characters but the computer read as “0,1,2,3,4”. I am using the while statement including it must be not equal to 0. In the listing program, I have three numbers that is going give the cumulative sum of three listed numbers. You have to input for three numbers and add the first to the second and the second number to the third number. Then the results will give the cumulative sum of the listed numbers.

Codes:

Results: