Brushing up on some Python fundamentals