# -*- coding: utf-8 -*- """ Created on Wed Feb 20 11:20:15 2019 Ask the user to enter a location and how much they have spent at a location. This can be done in 2 separate inputs Store the information by using arrays. You may initialise some locations beforehand to not need to re-enter it everytime it runs. Here is the sample data to store in an array: Locations: Katikati, Waihi, Tauranga, Auckland Money spent:20,100,300,400 If they input "end" print out a summary of their travel log. The summary is all the locations they've been and how much they have spent in each location. Then print the total locations they have travelled to and the total amount they have spent. Extension 1: Print out the maximum, minimum amount spend and the location. Extension 2: Print the average amount that was spent. Extension 3: Print out the mode that was spent. Challenge1: Do the extension above WITHOUT the math/statistics library Challenge2: Losing the data everytime is a pain. Investigate how to save the data between execution of the program. Challenge3: Obtain input from 1 input rather than 2. How would you handle unexpected inputs now? @author: achuang """ def main():