Beginning Python Programming – Guessing Game

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

Free

Save for later
  • Python-Programming-Hints---Guessing-Game.docx

About this resource

Info

Created: May 21, 2018

Updated: Jul 8, 2019

Worksheet

docx, 15 KB

Python-Programming-Hints---Guessing-Game

Report a problem

Creative Commons "Sharealike"

Creative Commons "Sharealike"