Amazing-Python-Scripts

Форк
0

README.md

Guessing Game GUI

A random number is generated between an upper and lower limit both entered by the user. The user has to enter a number and the algorithm checks if the number matches or not within three attempts.

Modules used

  • tkinter
  • random

How it works

  • User enters the upper limit and lower limit number (example 7 and 10) and locks these numbers.
  • When the user locks these numbers a random number in the given range is generated by the random module.
  • User guesses a number and enters it.
  • The GUI displays if the number is correct or wrong within three attempts.
  • After three attempts the user can either play again or quit

Made by K. Sai Drishya

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.