Number guessing game between 1 and 100 with Python

Number guessing game between 1 and 100 with Python

From Wednesday, May 7, 2025 2:23 PM
to Saturday, May 10, 2025 2:23 PM

Icel Anatolian High school

Open in-person activity

sekercizehra33@gmail.com

Turkish

İçel Anadolu Lisesi, Menderes, Barbaros Hayrettin Paşa Caddesi 3, 33200, Mezitli, Mersin, TUR

In this project, we designed an application that generates a number between 1 and 100 in python and asks the user to guess it.

In our application, we generated a random number between 1 and 100 using the "random" library in python. Then, with the help of a loop and a condition, the user was asked to guess it. Each time the user got it wrong, he suggested hints such as "Enter a larger number" or "Enter a smaller number". When the user got the number right, the loop ended, the user was congratulated and the program was closed.

Thanks to this program, students learned and repeated using libraries, using loops, creating conditions in python. It was a fun activity and made students love coding.

http://ial.meb.k12.tr

    Secondary school
    Basic programming concepts Playful coding activities

Longitude: 34.52608
Latitude: 36.73825
Geoposition: 36.73825,34.52608

Nearby upcoming activities:

Mole Shotting Game With Kotlin
Tue, Oct 14, 2025 11:32 AM

In this project, we designed a mole shooting game with the help of kotlin.

In our project, we repeated intermediate kotlin coding and xml coding in a fun way. In this way, we developed algorithm intelligence and made kotlin codes more memorable.

There is one 🎯 emoji in the game, this emoji changes its place every 1 second and asks the user to click on that emoji. Every time the user presses it correctly, its place changes again and the score increases by one. If the user presses the wrong place, the toast text appears at the bottom and says the game is over and shows the player's score.

In this way, students made coding more fun and integrated codes into their minds in a more permanent way.

Dice Throwing Application with Python
Sun, May 11, 2025 2:23 PM

In this project, we designed a dice throwing application with python.

The application we created using the "random" library in Python has been both a fun and instructive activity. In this way, students will learn to use the library in python; will repeat the loop and conditions. The application selects and prints a random number between 1 and 6 and asks the user if they want to continue.

As a result, we both learned how to use the library and had more information about the algorithm.

 

 

User-Specific Dictionary with Kotlin
Thu, May 15, 2025 2:46 PM

In this project, we aimed to design a user-specific dictionary.

In the project, we learned and repeated mapping with the "map" command, creating conditions with the "when" command, setting up and using functions, creating loops with the "while" command, creating a loop with the "forEach" command, and this loop was applied for each element in the list.It asks the user for numbers between 1 and 6 to perform a certain operation, which evokes a certain operation.1 Press 'to find the meaning of the added word.2 to add a new word and its meaning.3 to delete the incorrectly added or unwanted word with its meaning.4 to print all the words in the dictionary with their meaning.5 to close the application.

In this way, students learned both kotlin coding at an intermediate level and learned the difficult and easy side of coding using algorithms. In addition, it was a project that was useful not only for entertainment but also for humanity, everyone will be able to find the meaning of the word they forgot if they added it here.