Write a Python script which uses the built-in function range () to display the fourth powers of the first 6 natural numb
Posted: Mon Jun 06, 2022 5:48 pm
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