Fun Challenges

Irish-Name-Repo 1


There is a website running at Do you think you can log us in? Try to see if you can login!

Hint: There doesn't seem to be many ways to interact with this, I wonder if the users are kept in a database? Try to think about how does the website verify your login?

Work to Get Ahead

Guessing Game

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.



Necklace Problem

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.