Answered step by step
Verified Expert Solution
Link Copied!

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:
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

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

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago

Question

9. Explain the relationship between identity and communication.

Answered: 1 week ago