Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use python3 to answer this question, please read the question carefully. Write a program that procedurally generates 'sample' data and stores that data in list

Use python3 to answer this question, please read the question carefully.

image text in transcribedimage text in transcribed

Write a program that procedurally generates 'sample' data and stores that data in list form, such as a 'list of lists.' Each entry will consist of order/vendor information such as usernames, web orders, product IDs, quantities, date of order, region, etc.. The specific column/category names are up to you (see Requirements). See sample below. You will wind up employing various Pythonic strategies, tools, and methods in your syntax. Your methodology in how you accomplish this is absolutely 100 per cent up TO YOU. For example, if you have a region column, you can have a 'root list' of the various regions (North, NorthWest, SouthEast, East) and employ the random. choice () method. DO NOT BE CONCERNED WITH FORMATTING DETAILS LIKE COLUMN MARKERS OR THINGS BEING CENTERED. This isn't meant to look like a Microsoft Spreadsheet. The goal is this: If this code runs, does it PROCEDURALLY PRODUCE Sample Data, for the purposes of calculations and analysis? Problem One Requirements: At least 5 columns of procedurally created data, stored as a lists, within an overall list. The columns can be of any data, but should be made to look like a customer order list (date, product-ID, region, etc...) There should be no less than 20 'rows' of data auto-generated. Details are left to the student; use past lectures and materials from texts provided

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