Python Class Interview Question