Python Theory Questions