docx, 15.24 KB
docx, 15.24 KB

Hi… This is a simple example of some python commands that creates the start of a random number guessing game. The explanation lines have been commented out so you can simply copy and paste the whole document into IDLE (or similar) and see it working, or print to use as a help guide. Extension work could include adding a way to use the currently unused ‘playerScore’ variable, checking if the player gets it in 1 guess and gives a special message and lots more.

(If you find the resource useful, please leave a review as it helps other teachers find it)

HackDragn

Creative Commons "Sharealike"

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have downloaded this resource can review it

Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.