Part 2: Create a 3-peat Survey Congratulations on creating a foundational (and reusable, with a little tweaking) building block for user interaction and getting multiple options from the user. Now,...


Please explain the steps of the coding.


Part 2: Create a 3-peat Survey<br>Congratulations on creating a foundational (and reusable, with a little tweaking) building block for user interaction and getting multiple options<br>from the user. Now, we'll take your menu and reuse it to create a simple 3-question survey. For each question, call your menu function to<br>handle the user input. A sample survey is below.<br>Labs/Lab_2/menu_b.py<br>How do you like to keep active?<br>A: Running<br>B: Birdwatching<br>C: Swimming<br>D: Does laying on a couch count?<br>Your answer: c<br>You selected: c<br>What is your favorite food?<br>A: Salad<br>B: Cakes and Pies<br>C: Sandwiches<br>D: Yes<br>Your answer: d<br>You selected: D<br>What grade do you want go get in CS 5001?<br>A: A<br>B: A<br>C: A<br>D: Is this a real question?<br>Your answer: a<br>You selected: A<br>

Extracted text: Part 2: Create a 3-peat Survey Congratulations on creating a foundational (and reusable, with a little tweaking) building block for user interaction and getting multiple options from the user. Now, we'll take your menu and reuse it to create a simple 3-question survey. For each question, call your menu function to handle the user input. A sample survey is below. Labs/Lab_2/menu_b.py How do you like to keep active? A: Running B: Birdwatching C: Swimming D: Does laying on a couch count? Your answer: c You selected: c What is your favorite food? A: Salad B: Cakes and Pies C: Sandwiches D: Yes Your answer: d You selected: D What grade do you want go get in CS 5001? A: A B: A C: A D: Is this a real question? Your answer: a You selected: A

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here