Question: Application Development is taught using Python. For the most part, students in this course must have taken an introductory programming class in Python (with a



> 3 IS3073 Project 01 Review/Renew/Build your Python Skills Background Application Development is taught using Python. For the most part, students in this course must have taken an introductory programming class in Python (with a very few exceptions). This project is intended as a review/warm-up. You will review some of the Python commands and techniques that we will use in this course and some of the concepts/functions that will underlie other techniques and functions. This project will give you a chance to review the following: The four basic functions of computing (input, output, storage, processing) How Python handles the three basic programming constructs (sequence, selection, iteration) How logic structures are scoped in Python The "nesting" of logic constructs in Python The use of specific built-in Python functions: input and range, . . General Description of Required Code You will write a Python script that will ask a user to enter a phrase. If the phrase is 10 characters or longer, the process may continue; if not, the user must enter a new phrase of at least 10 characters Once the input requirement has been satisfied, each character of the input phrase will be output to the console, one character per line. Detailed Requirements 1. I strongly recommend declaring variables to hold the input phrase and the length of that phrase at the top of your script. o RE a ** 3 53E console, one character per line. mput prirase will be output to Detailed Requirements 1. I strongly recommend declaring variables to hold the input phrase and the length of that phra at the top of your script. 2. Use an iteration structure to repeat the following steps until an input phrase of at least 10 characters has been provided: a. Use the input function to prompt the user for a phrase and store the phrase as a variable. b. "Mirror" the phrase to the user - that is, print the stored variable contents to the console with a message. C. Retrieve the length of the phrase/variable. d. If the length is less than 10: 1. Issue a message (to the console) letting the user know that they must enter a new phrase of at least 10 characters. 3. Print a "header" message to identify the remaining output. 4. Use a range function to control an iteration that will: a. Print each individual character of the final input b. One character per line. Example Console Output Following is some sample output (to the console) produced by a successful solution to this project (user input appears in red font): Please enter a multi-word phrase and press Enter: Hi You entered: Hi The length of your phrase is 2 You must enter a new phrase, at least 10 characters long. Please enter a multi-word phrase and press Enter: What now? You entered: What now? The length of your phrase is 9 You must enter a new phrase, at least 10 characters long. Please enter a multi-word phrase and press Enter: Really? You entered Really? The length of your phrase is 7 You must enter a new phrase, at least 10 characters long, Please enter a multi-word phrase and press Enter: Here goes nothing You entered: Here goes nothing The length of your phrase is 17 Individual Characters in Your Phrase! H Here goes nothing You entered: Here goes nothing The length of your phrase is 17 Individual Characters in Your Phrase: H r g 20 OU e S n COSC00 t h i g
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
