Answered step by step
Verified Expert Solution
Question
1 Approved Answer
AIM: A text file called HKCCPI2022 .txt contains the data of Hong Kong Composite Consumer Price Indices in 2022 where the index value is 100
AIM: A text file called HKCCPI2022 .txt contains the data of Hong Kong Composite Consumer Price Indices in 2022 where the index value is 100 for the period from October 2019 to September 2020 (Source: Consumer Price Index Section, Census and Statistics Department, HKSAR) which are delimited by tab as follows: [Hong Kong Composite Consumer Price Indices in 2022] [ (October 2019 - September 2020 = 100)] Month All items Food Housing Electricity, gas and water ... Jan 102.3103.4101.0 Feb 103.1105.9101.0 Dec 104.2106.9100.9 Write a Python program that reads the data from this file, find the average value, minimum value, and maximum value of the indices for each type of goods or services in 2022, and finally print a table of the results with the following format on the screen: [Hong Kong Composite Consumer Price Indices in 2022] [(October 2019 - September 2020 = 100)]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started