Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help with list and phyton programming. 2014 2013 452384 2015 349587 2016 534255 423171 Museum Asian Civilisations Museum (ACM) National Museum of Singapore (NMS)

Need help with list and phyton programming.

image text in transcribed

2014 2013 452384 2015 349587 2016 534255 423171 Museum Asian Civilisations Museum (ACM) National Museum of Singapore (NMS) Singapore Art Museum (SAM) Singapore Philatelic Museum (SPM) Sun Yat Sen Nanyang Memorial Hall (SYSNMH) The Peranakan Museum (TPM) 1199031 728978 117466 902083 743718 142106 774555 903357 152655 777362 732913 160034 92287 101544 373929 97335 475728 133159 508334 417057 In this project, your Python program is required to: Initialise appropriate lists with the full data. Show four different menu options plus a Quit option. Based on the user selection, your program shall 1. Display the visitor numbers of each museum in the year 2017. 2. Display the museums, the years and the visitor numbers if the visitor numbers are between 400000 and 800000 over the 7-year span. 3. For a user selected museum, display the three lowest visitor attendances and their corresponding years over the 7-year span. 4. Make the following plots Visitor numbers of NMS, SAM vs Year as line plots The lowest to highest number of visitors to SPM vs their sequence number (i.e., 1-6 with lowest being 1) as a line plot. You will be awarded higher marks if you have the following features in your program: Retrieve the data from the CSV file and store them into lists Use numpy or 2D lists/arrays Plot the data with properly labelled titles, labels and legends Use functions that you define (and initialise lists for storing data if your program doesn't retrieve them from the CSV file) in a module called data.py

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