The first persоn tо describe аnd see cells wаs:
DIRECTIONS – in the TEXTBOX PROVIDED- type the ENTIRE PYTHON PROGRAM REQUIRED bаsed оn the PROGRAM SPECIFICATIONS. ========== In yоur pythоn coding, everywhere you need to tаb in for а function, loop or if statement, type the phrase (tab) instead of pressing the tab key! This will be how you will CODE your answer on the exam ============================================ Here are other Requirements in addition to the SPECIFIC PROGRAM SPECIFICATIONS that must be implemented in your PYTHON CODING: Part 1: The program will use boolean, numeric and non-numeric data types. ======================================= Part 2: The program will FOUR SUB-FUNCTIONS for all PROCESSING! There will be ONE sub-function named “main” that will process the MENU. One subfunction to ask for user input. One subfunction to calculate the detail values. One subfunction to print the detail output values. ------------- Part 3: The program will have the following CONSTANT KNOWN INPUT VALUES ONLY FOR GLOBAL VALUES to be used for ‘DETAIL CALCULATIONS’ ************************************************************************* Part 4: The MAIN SUB-FUNCTION will use a MENU with TWO OPTION (OPTIONS 1 AND 2): OPTION 1 – enter a Transaction (this option will: execute the three subfunctions: input, detail calc, and detail output OPTION 2- exit a program (this option will close / stop program) ** FOR this MENU....PROCESSING ... *** There will be a loop that will execute so that the menu will continue to display until the user selects option 2. The input of the option will be validated for option 1 or option 2 only. ++++++++++++++++++++++++++++++++++++++++++++++++++ Part 5: The program will accept the following numeric(int & float) and non-numeric data as interactive input from the user to use to calculate the needed ‘DETAIL CALCULATIONS’. ==== Part 6: The program will calculate REQUIRED ‘DETAIL CALCULATED VALUES’ using formulas that may require the use of if..elif..else statements. ==== Part 7: The program will print/display the REQUIRED ‘DETAIL OUTPUT VALUES’ using the print f-string (formatted string literal) correctly. === Part 8: The MAIN FUNCTION will execute ONLY the main Subfunction ONE TIME. ================================================== &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 202-SUMMER 2026- EXAM 1 -PROGRAM SPECIFICATIONS TO USE PART 2- CONSTANT KNOWN INPUT VALUES: State is AL RENT is 500 PART 4- USER INTERACTIVE INPUT VALUES – validate USER INPUT with while loop, if required - First name (non-numeric value) – no validation Last name (non-numeric value) – no validation City (BHM, TUSC, or ATL)- VALIDATE for these values only Charge per Phone (25.00 – 50.00)- validate for these values only No of phones (1, 3, 5)-validate for these values only Power bill (25 – 200)- validate for these values only ============================================= PART 5- DETAIL CALCULATIONS REQUIRED: Full name IS FOUND BY .. adding the first name to a space.. Then adding this to the last name Phone discount RATE Is found by using ONE if..elif…else statement 2- Charge for all phones IS FOUND BY.. MULTIPLYING no of phones by the charge per phone 3- Net due for phones IS FOUND BY FIRST SUBTRACTING the phone discount from 1.. Then.. MULTIPLYING this by the Charge for all phones 4- Amt due IS FOUND BY adding together: net due for phones, rent and the power bill. ================================== PART 6- DETAIL OUTPUT to BE DISPLAYED – must use “print f-string (formatted string literal)” correctly LINE 1: ******************************** LINE 2: FULL NAME IS _______ CITY IS _______ LINE 3: AMT DUE IS ____ NET DUE FOR PHONES IS ____ LINE 4: PHONE DISCOUNT RATE IS ____ LINE 5: CHARGE FOR ALL PHONES IS ___ LINE 6: ****************************************