← All lessons

Mini project: the "Who are you?" quiz

Sign in · Sign up

Lesson 2.9

Let's build a quiz with three questions. Every yes answer earns a point, and at the end the points choose the result.

answer_1, answer_2 and answer_3 are the answers to the questions. They are set by the check, so you don't need to write input(): the program works with ready-made answers.

The questions:

  1. Do you like making games?
  2. Do you like talking to people?
  3. Do you like drawing?

The result:

  • You are a creator! — two points or more;
  • You are an explorer! — exactly one point;
  • You are an observer! — no points at all.

Print only the result — one line.

Hint

The counter grows on every "yes" answer: three separate if statements or one for all three checks.

The result is an if/elif/else chain on the number of points, each count is its own line from the task. Check from the most points to the fewest.