Combined questions in part 1 into one python file