In a study, you randomly interviewed 10 people from your area to know their annual family incomes in 2017. The incomes t
Posted: Fri Jul 01, 2022 5:38 am
In a study, you randomly interviewed 10 people from your area toknow their annual family incomes in 2017. The incomes that youfound, were $(20000, 12000, 40000, 40000, 30000, 80000, 45000,18000, 24000, and 60000).Write a Python program that will create an array of integers withthe incomes above and then, write a “for loop” to read the valuesfrom the array to calculate the average income of thatregion.Finally, the program will give an output like:The average family income of this area is <calculatedvalue>.