Conditional Lab

In this lab, you will learn about conditionals. Read over Chapter 4. Answer the questions below in one big file that your TA Marc can run as a Python script/program by using the Python launcher. You can use the print command to make the output look sensible for Marc. Name the file yourlastnameCond.py. Email your completed assignment (i.e., attach your script file) from your preferred class email address to marctomlinson@mail.utexas.edu.

1. Write a form letter generator for the admissions committee of a university that takes the applicant's name and SAT score as arguments. If the applicant's SAT score is less than 1200, call a second function that prints a rejection letter addressed to the applicant's name. If the applicant's score is 1200 or greater, call a third function that prints an acceptance letter using the applicant's name.

2. Write a brief "choose your own adventure" story in which the user reads a story from the first person perspective and is confronted with choices that lead to branches in the narrative. The first choice should offer two options (calling one of two functions). Each of these functions should offer three choices leading to three endings. These two functions don't have to call three different functions but can if you prefer.