Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

General overview For this assignment you will write a program that uses input (receiving data from the user via the keyboard) and output (displaying data

General overview For this assignment you will write a program that uses input (receiving data from the user via the keyboard) and output (displaying data to the user on the screen). GUIDELINES Write a program that asks a user for their favorite color, then allows them to type in their own color. Finally, have the program respond to them by displaying the text "Your favorite color is" followed by the color they typed. In the example below, the user types in "Blue" for their favorite color: Please enter your favorite color: Blue Your favorite color is blue Please note that the underline in this example for the word "Blue" means that the user has typed it. You do not need to create any underscores in your program. In this example, the user types "Hot Pink" for their favorite color: Please enter your favorite color: Hot Pink Your favorite color is Hot pink Note that the program redisplays the color that the user entered, so it is different each time, depending on the color that was typed. To make this program work, you will need to receive input from the user and then store the data they provide in a variable. Then, at the appropriate time you print (ie display) the data stored in that variable. Showing creativity and exceeding requirements As stated in the course syllabus. For each of this semester's test assignments, you will be provided with the essential requirements, or minimum standard expectations, for the assignment. If you meet these requirements, you are entitled to a 93% duty. However, to qualify for a 100% on the assignment, you will need to do something to show creativity and exceed these essential requirements. For this assignment, here are some ideas on how you can show creativity in addition to the main requirements: Ask some additional questions, store those answers in variables, and display them. Change the formatting, such as placing the color in line with other words and adding punctuation around it (eg, quotation marks around the color and/or an exclamation point at the end). Change the wording so that the program gives the user a more interesting message than just saying "Your favorite color is". Anything else you can think of! Submission To submit your assignment, you need to do two things: Upload your program (.py file) to I-Learn for feedback. Add a submission comment specifying the grading category that best describes your assignment along with a 1-2 sentence justification for your choice. (Be sure to highlight anything you did to show creativity and exceed the essential requirements!) The evaluation criteria are: 1 - An attempt made 2 - Under development (but clearly lacking) 3 - A little lacking 4 - Meets the requirements 5 Shows creativity and exceeds requirements

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Students also viewed these Databases questions