Question: 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:
1. Collect the following user information: /5 Marks
First name
Last name
Address
City
Province
Email
Phone Number
Store these as predefined variables.
2. Use an IF statement to validate one of the pieces of information from step 1./5 Marks
3. Import and use a module of your choice. This should be used to make the code more efficient. /5 Marks
4. Create a function and call on it in your code /5 Marks
5. 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. /10 Marks
6. Use a FOR or a DO/WHILE loop to have code repeat. This needs to be functional, testable, and should enhance the user experience. /5 Marks
7. Create a DICTONARY and write all the Categories and variables in step 1 to the Dictionary. Remember dictionaries are not just simple lists or tuples. /10 Marks
8. Call an item from your dictionary and use it./5 Marks
9. 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./15 Marks
10. 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. /10 Marks
11. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!