while loops -year old method to compute the square root of is as followsstart with an initial guesssay then compute nexttake that and replace the ' in the previous formula with ' this gives / next replace the in the previous formula with / this gives / / if you keep doing this process of computing the formulagetting resultand plugging it back inthe values will eventually get closer and closer to this method works for numbers other than write program that asks the user for number and uses this method to estimate the square root of the number correct to within - the estimate will be correct to within - when the absolute value of the difference between consecutive values is less than - write program that has list of ten wordssome of which have repeated letters and some which don' write program that picks random word from the list that does not have any repeated letters write program that starts with an list of zeroes and randomly changes exactly ten of those zeroes to ones write program in which you have list that contains seven integers that can be or find the first nonzero entry in the list and change it to if there are no nonzero entriesprint message saying so in there was problem that asked you to write program that lets the user play rock-paper-scissors against the computer in that program there were exactly five rounds rewrite the program so that it is best out of that isthe first player to win three times is the winner write program to play the following simple game the player starts with $ on each turn coin is flipped and the player has to guess heads or tails the player wins $ for each correct guess and loses $ for each incorrect guess the game ends either when the player runs out of money or gets to $ write program to play the following game there is list of several country names and the program randomly picks one the player then has to guess letters in the word one at time before each guess the country name is displayed with correctly guessed letters filled in and the rest of the letters represented with dashes for instanceif the country is canada and the player has correctly guessed adand nthe program would display -ana-da the program should continue until the player either guesses all of the letters of the word or gets five letters wrong