PNG, 257 KB
PNG, 257 KB
pptx, 416.83 KB
pptx, 416.83 KB

In this tutorial I cover the following sub-topics:

  1. Using the “import” function
  2. Using the Random generator
  3. Using recursion in Python
  4. Using Functions with arguments e.g. def marks(die1,die2,die3)
  5. Formatting strings and integers and converting text to upper case
  6. Using global and local variables
  7. Using the timer in Python
  8. Sequencing and Selection Statements and a lot more

This code is for a game that rolls three dice. If all three show the same number you score 10 points and if its just two you score 5 points otherwise you lose 2 points.

The original code will be emailed to you because I can’t upload it here due to file restrictions.

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 purchased 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.