developing a program in Python Academic Essay