Homework .py

Homework for first chapter of Programming for Absolute Beginners