for x in range(1,11):
y = math.sqrt(x)
print (‘The suare root of’, x, 'is: ', (round (y,2)))
Redo the previous problem, except instead of creating a for loop, create a while loop that uses math.sqrt( ) and calculates and prints the square root of each of the the integers 1 through 10. Round to two decimal places. Your output should look the same as the previous problem.