AssignmentsWeek 02 · Decisions and structureApplication status responder
wk02.p5Practice exerciseWeek 02 · Decisions and structureOpen · due in week 2

Application status responder

Ask the user the status of their scholarship application and print a tailored response. This time the comparisons are on text, not numbers — the same if / elif / else, applied to strings.

What you'll build

Ask the user the status of their scholarship application and print a tailored response. This time the comparisons are on text, not numbers — the same if / elif / else, applied to strings.

Requirements

The must-do parts. If any are missing, we'll ask you to take another pass.

  1. Ask the user for the status of their application. Expect one of: submitted, under_review, accepted, rejected.
  2. Use if, elif, and else to compare the status with == and print a tailored response for each of the four.
  3. If the status is none of the four expected words, print a polite message asking the user to try again with one of the four.
  4. Keep all status names lowercase. No need to handle capitalisation today.
Bonus, if you're feeling brave
  • Lowercase the user's input first so Accepted, ACCEPTED, and accepted all work. Look up .lower().
  • After the response, print one practical next step the user could take (e.g. for submitted, suggest setting a calendar reminder).

Examples

What your program should look like when it runs. Lines starting with $ are typed by you; the rest is your program.

Example cell runs
Status of your application (submitted / under_review / accepted / rejected): submitted
Application is in. Set a reminder to check back in two weeks.

Status of your application (submitted / under_review / accepted / rejected): accepted
Congratulations. Reply to the offer letter promptly and start planning your move.

Status of your application (submitted / under_review / accepted / rejected): maybe
Please re-run and enter one of: submitted, under_review, accepted, rejected.

Where to start

Copy this scaffold into a new file. You don't have to use it — it's just a friendly nudge.

# Application status responder

status = input("Status of your application (submitted / under_review / accepted / rejected): ")

# TODO: use if / elif / else to print a tailored response for each status

How we'll grade it

Four checks, four points. Three or above is passing — we'll ask you to revise anything we can't tick.

CheckWhat we look forPt
It runsAsks for the status and prints a response without crashing.1
All four statuses handledEach of submitted, under_review, accepted, and rejected gets its own distinct response.1
Unknown status caughtTyping something other than the four expected words gets a calm message, not silence and not a crash.1
Reads wellEach response is one or two sentences a real applicant could read without rolling their eyes.1
Ready?
Hand it in
You can submit a draft and revise later if you're not done.
Begin submission →