Question: Write a program which creates the list numbers with the following numbers: 12 23 45 34 22 5 8 11 33 66 57 44

Write a program which creates the list numbers with the following numbers:

 

Write a program which creates the list numbers with the following numbers: 12 23 45 34 22 5 8 11 33 66 57 44 28 82 The program reads the numbers in the list, calculates the square root of only the last 4 odd numbers and displays the results in a single line. The results are displayed with 3 decimals. The correct output should be: 2.236 3.317 5.745 7.550

Step by Step Solution

3.49 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import math Create the list of numbers numbers 12 23 45 34 22 5 8 11 33 66 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!