@extends('template') @section('title') Lab 4, Part 3: Optional Buzzfeed-style quiz @stop @section('content') # Lab 4, Part 3: Optional, time-permitting buzzfeed-style quiz ## Task: What element are you? a plant, some fire, and some water each in a glass Do you ever find yourself wondering “What element am I? Am I Earth? Water? Fire?” Now you can write a Python program to answer this compelling question. In this task, you will create a simple quiz that asks the user three multiple choice questions, and then determines what “element” they are based on their responses. Here is a sample quiz: ```xml In[]: runQuiz() Which food do you like the most? 1: artichokes 2: lettuce 3: kimchi Select 1, 2 or 3: 3 Which weather do you like the most? 1: no humidity and sunny 2: light rainfall and rainbows 3: lightning storms Select 1, 2 or 3: 3 Which candy do you like the most? 1: gummy worms 2: junior mints 3: atomic fire balls Select 1, 2 or 3: 3 ************************* You are fire ************************* ``` You have some DC&G experience under your belt now, so you might feel inspired to tackle this problem on your own (and do your own dividing). If so, go for it! On the other hand, if you would like more structure, [click here for some guidance in dividing the problem into smaller sections](/labs/lab04/buzzfeed) When you're done, test your quiz to make sure it works as expected. @include('/labs/lab04/_toc') @stop