Work to Get Ahead
Create a Python program called GuessingGame which allows user to make as many guesses as necessary to guess a secret number. To make your guess more effective, every time the user makes a guess, your application should display a message (such as too big, too small) to the user, so the user can purposely make the next guess. Your application also needs to display how many guesses the user has been made to get that secret number.
An interesting problem in mathematics is called the "necklace problem". This problem begins with two single-digit numbers. The next number in the sequence is obtained by adding the first two numbers together and saving only one digit. This process is repeated until the "necklace" closes by returning to the original two numbers. For example, ig the starting two numbers are 1 and 8, twelve steps are required to close the necklace:1 8 9 7 6 3 9 2 1 3 4 7 1 8.
Enter the first starting number: 1
Enter the second starting number: 8
1 8 9 7 6 3 9 2 1 3 4 7 1 8
It took 12 to generate this necklace.