Lab #4

Chapter 8: Exercise 1

Description: Making a function that takes a string as an argument and making it appear backwards one letter per line.

Code:

Screenshot of Code:Step 1 <<<Python 3.3.2

After running it>>>Excersise 1 Step 2

Chapter 10: Exercise 3

Description: Take a list and make it so that the program will output a cumulative sum meaning from this example>>>>[1, 2, 3] the output will be [1, 3, 6]

Code:

Screenshot of Code >>>Exercise 3 Step 1 <<<Python 3.3.2

after running it >>>Exercise 3 Step 2

Leave a Reply

Your email address will not be published. Required fields are marked *