lab04_python part 1

this one gave me a hard time.