Page 1 of 1

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
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 33 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