Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Code Items and Marks: 1 . Collect the following user information: / 5 Marks First name Last name Address City Province Email Phone Number Store
Code Items and Marks:
Collect the following user information: Marks
First name
Last name
Address
City
Province
Email
Phone Number
Store these as predefined variables.
Use an IF statement to validate one of the pieces of information from step Marks
Import and use a module of your choice. This should be used to make the code more efficient. Marks
Create a function and call on it in your code Marks
Create a separate file that stores your received customer information. Save each piece of information on a separate line in the file, and it should define what it is For example:
First Name: Aaron
Last Name: Rodgers etc. Marks
Use a FOR or a DOWHILE loop to have code repeat. This needs to be functional, testable, and should enhance the user experience. Marks
Create a DICTONARY and write all the Categories and variables in step to the Dictionary. Remember dictionaries are not just simple lists or tuples. Marks
Call an item from your dictionary and use it Marks
Grab the HTML from saskpolytech.ca Store it as a variable. Ask the user if they want it printed to the terminal. If they say yes, print the data to the terminal. If they say no thank them and have the code move on Marks
Add a date and time stamp to the bottom of the file that stores the customer information. This can be done at the same time as the original file creation, but the date and time must be polled generated by the code, not manually entered. Marks
Ensure the code has a meaningful and professional presentation. Remember, razzle dazzle goes a long way towards the user experience.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started