How to Make a Guess the Number Program in Python

by Rodent crossing in Circuits > Electronics

371 Views, 1 Favorites, 0 Comments

How to Make a Guess the Number Program in Python

Screen Shot 2021-03-01 at 5.18.49 PM.png

For this project you need python. personally, I use python 3.

Supplies

Python

basic coding skills

The Start

Screen Shot 2021-03-01 at 5.19.38 PM.png

Once you have python, you should have something like this on your screen.

The Code

Screen Shot 2021-03-01 at 5.18.49 PM.png

Above is the full code. this program use a number between 1 and 20, but you can make it anything you want.

Running the Program

Screen Shot 2021-03-01 at 5.25.56 PM.png

once you finish the program, when you run it it should look like this. have fun!