- 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 32 times
Write a Python script which uses the built-in function range () to display the fourth powers of the first 6 natural numb
-
- 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
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