Update midterm3b.py

changed header comments