Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are an application developer at a software development company called Initech. Initech specializes in meeting the application development needs of small businesses. A local

You are an application developer at a software development company called Initech. Initech specializes in meeting the application development needs of small businesses. A local clothing shop called "Dads-R-Us" sells clothes for active dads, like khaki slacks, joggers, and polo shirts. Dads-R-Us would like to add an app to their website that generates "dad jokes". These are clean, G-rated jokes that dads can share with their kids to make them laugh. Your team lead asks you to develop the code for the Dad Joke Generator so she can add it to the Dads-R-Us website.

Instructions

  1. Create a Python app using the Trinket development environment below. Your app should meet these requirements:

    • Your application will display Dad Jokes from a list. Define a list that holds twenty (20) Dad Jokes.
    • Define a numeric variable to hold a count of the Dad Jokes.
    • Display the count of the Dad Jokes to the user.
    • Display at least four Dad Jokes to the user. Use the Python random() function to randomly choose the jokes to display.

      • Hint: Check out the "Random Numbers" section.
    • Ask the user if they want to see more Dad jokes and get their answer as input.

      • If the user's answer is yes, use a loop to repeat the process of retrieving the Dad Jokes from the list and displaying them to the user.
      • If the user's answer is no, thank them and exit the program.

Step by Step Solution

3.35 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

Solution Dad Joke Generator App for DadsRUs Define list of Dad Jokes dadjokes Why did the scarecrow win an award Because he was outstanding in his fie... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Management Accounting Information for Decision-Making and Strategy Execution

Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young

6th Edition

137024975, 978-0137024971

More Books

Students also viewed these Databases questions

Question

discuss product strategies for growth

Answered: 1 week ago