Beck's first python program