Write a Python script which uses the built-in function range () to display the fourth powers of the first 6 natural numb

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

Write a Python script which uses the built-in function range () to display the fourth powers of the first 6 natural numb

Post by answerhappygod »

Write A Python Script Which Uses The Built In Function Range To Display The Fourth Powers Of The First 6 Natural Numb 1
Write A Python Script Which Uses The Built In Function Range To Display The Fourth Powers Of The First 6 Natural Numb 1 (27.94 KiB) Viewed 31 times
Write a Python script which uses the built-in function range () to display the fourth powers of the first 6 natural numbers ie: display the numbers 1,2,3....,6. Extend your script to display the average of the 6 numbers just displayed, to a precision of two (2) decimal places. When implemented correctly, your Python script should generate the following output: 1 16 81 256 625 1296 379.17
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply