Free

Save for later
Beginning Python Programming - Rock, Paper, Scissors

Welcome… This is a simple example of some basic python commands that creates a basic Rock, Paper, Scissors 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. There is plenty of scope to improve the code: Adding scoring, checking for a real choice instead of assuming a default value of ‘Scissors’, Correct the error if the user types ‘Rock’ or ‘Paper’ and lots more that I’m sure you’ll think of.

(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---RPS.docx

About this resource

Info

Created: May 16, 2018

Updated: May 13, 2019

Worksheet

docx, 16 KB

Python-Programming-Hints---RPS

Report a problem

Creative Commons "Sharealike"

Creative Commons "Sharealike"