Question: I've written this code in python: import math value = 1 while count the site that does the hw is saying that i have not

I've written this code in python:

import math value = 1 while count

the site that does the hw is saying that i have not run 2 tests and that the program doesn't correctly test the required loop control variable (value). please help me fix it

(p.s. count is

I've written this code in python: import math value = 1 while

Sequence of Square Roots Write a program that prints the square root values of the first 30 even integers, starting at 1 . Use a while statement to achieve this output. Your output should have one value per line. The name of your loop control variable should be value. The loop should increment the value variable by one each iteration through the loop. The use of an if statement is required for this solution. \begin{tabular}{|l|l} 1 & import math \\ 2 & value =1 \\ 3 & while count

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To fix your code you need to ensure that the loop correctly uses the value variable a... 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 Databases Questions!