Introduction to Computer Science I

  Homework 4

Due by 1:30pm on Tuesday, February 1


Reading

Read sections 5.1-5.3 of the textbook and the week 4 lecture notes.

Problems

Solve the following by implementing the corresponding functions in homework4.py. When done, submit that file through D2L.

[Lab] Problems 5.15, 5.23, 5.26, 5.17, 5.28.

Problems 5.18, 5.30, 5.34, 5.41.

You will need file sample.txt.