Number Guessing Game (Beginner Python Project)

preview_player
Показать описание
In this video I will be making a command line Random Number Guessing Game. This is a beginner python project tutorial. The topics covered in this video include getting user input, generating a random number with the random library, while loops, conditional statements, logical operations, the none keyword, the not keyword, and the isidigit() function.

#pythonforbeginners

thumbnail image made using
Рекомендации по теме
Комментарии
Автор

This is cool! I made a version of this game where you enter a number between 1 and 1000 and the code runs through calculations to try and find the number in as little guesses as possible. I might need to implement some sort of calculus or neat mathematics that will dramatically decrease the amount of guesses to find a number, but it's still a cool idea that you and the viewers should try!

jacckkaboii
Автор

Wonderful. thank you for explaining your process vividly such as the library, functions, keywords, etc. Well written

JAYS
Автор

Really helpful video, thank you for the effort you've put in it!

tispenser
Автор

My Python homework is to do this but by creating a getGuess(first, last) and guessWin(number, guess) within the main 🤦‍♂️

mikes.
Автор

You can treat common errors such as:
° when the user doesn't enter any input
° when the user enters blank spaces as the answer
and so on :)

Lucas-mdgg