In a study, you randomly interviewed 10 people from your area to know their annual family incomes in 2017. The incomes t

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

In a study, you randomly interviewed 10 people from your area to know their annual family incomes in 2017. The incomes t

Post by answerhappygod »

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>.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply