Sanfoundry Python Questions