Thursday 11 December 2014

Python Task 1

Registering a new player


This is a very simple programming task.  Write a program in Python to implement the following design:


Design


Here is an outline design for the program.
  • Display a welcome message for the game
  • Ask the player to enter their age, gender, email address and a player name
  • Display this information on the screen and ask the player to confirm that it is correct
  • If the information is incorrect, ask the player to re-enter the information
  • Display the correct information on the screen



Task


  1. Write the code using Python with comments
  2. Save your program as registration.py
  3. Copy the code into a word-processing document and annotate to say what each section does
  4. Show the output of the program working.
  5. Reply to this post with a link to your document.

TARGET DATE Thursday 8th January at 5.00pmn

25 comments:

  1. Here is my homework due the 8th. - Jamie Legg
    https://docs.google.com/a/gillotts.org.uk/document/d/1ZBKFEUfy_8xmRGO-lgwG5OuW0Thorl3fWm3l6mROJC4/edit?usp=sharing

    ReplyDelete
    Replies
    1. Very good attempt however, re-write as follows:

      1. Show title
      2. Introduction
      3. Add comments to code explaining each section
      4. Run code outputs as per homework requirements

      Due 22nd January

      Delete
    2. Thanks for your feedback, I have improved on certain points listed below:
      1. I have added a title and subtitles.
      2. I have added an introduction explain what I have done throughout the document.
      3. I have re-done the code to added comments in to my work and re-pasted and re-labeled my work on my commented code.
      4. I have added a run output at the end of my document to show my fully working code.
      I appreciate constructive criticism and will continue to act on my mistakes in the future.

      Here is a link to the finalized document: https://docs.google.com/a/gillotts.org.uk/document/d/1ZBKFEUfy_8xmRGO-lgwG5OuW0Thorl3fWm3l6mROJC4/edit

      Delete
  2. https://docs.google.com/a/gillotts.org.uk/document/d/1j4e4auylh4hDo21A7jR-HHwzlm5IXNbJgY4B6HOWl6o/edit

    ReplyDelete
    Replies
    1. Very good attempt however, re-write as follows:

      1. Show title
      2. Introduction
      3. Add comments to code explaining each section
      4. Run code outputs as per homework requirements

      MAKE YOUR CODE VISIBLE

      Due 22nd January

      Delete
    2. Click here to view my improved game.
      https://docs.google.com/a/gillotts.org.uk/document/d/1j4e4auylh4hDo21A7jR-HHwzlm5IXNbJgY4B6HOWl6o/edit?usp=sharing

      1.I have made my code larger to make it more visable
      2.I have added a screen shot of the output.
      3.I have added comments explaining what each section of code does
      4.I have added a introduction.
      5.I have added a title.

      Delete
  3. https://docs.google.com/document/d/1AY3k_BT89sPtqszIcswOKv0rW_UnvzuP0SCtanpSMe8/edit?usp=sharing

    ReplyDelete
    Replies
    1. Brilliant with a very detailed analysis of the code and have shown user outputs. Please resubmit with the following:

      Intro outlining user requirements
      Intro to outputs

      MAKE CODE VISIBLE

      Due 22nd January

      Delete
    2. thank you for your feedback.
      1)I have added an intro to the start of the document talking about the users requirements.
      2)I have added a intro to my outputs talking about what is going on.
      3)I have made the image of my code larger so it can be seen with more ease.

      Delete
  4. Gamer registration homework:
    https://docs.google.com/a/gillotts.org.uk/document/d/1KQb-suT7oyF11jJoQOGnsXoQO_Qo9nW_k9SVYo2JN10/edit

    ReplyDelete
    Replies
    1. Very good attempt however, re-write as follows:

      1. Introduction and explanations
      2. Add comments to code explaining each section

      MAKE CODE VISIBLE

      Due 22nd January

      Delete
    2. I have added a description and said what each piece is
      I have added comments explaining the code
      I have made the code bigger

      Delete
  5. https://docs.google.com/a/gillotts.org.uk/document/d/1l_VoBKRy8J_4RbDYuog1sNq25L32bmSccUdr6mqlNsk/edit?usp=sharing

    ReplyDelete
  6. https://docs.google.com/a/gillotts.org.uk/document/d/1l_VoBKRy8J_4RbDYuog1sNq25L32bmSccUdr6mqlNsk/edit?usp=sharing

    ReplyDelete
    Replies
    1. Excellent attempt however please re-write with detailed comments in trhe code #.... Also, introduction to the outputs section.

      Delete
    2. I have made improvements to all of your comments

      https://docs.google.com/a/gillotts.org.uk/document/d/1l_VoBKRy8J_4RbDYuog1sNq25L32bmSccUdr6mqlNsk/edit

      Delete
    3. The above comment was made at 5:04 but i think bloggers clock is set to american

      Delete
  7. my one
    https://docs.google.com/document/d/1K6hJ4CGPoMaA1VGXIOMHFlbaMh6zbEKaGwlW6llUR_A/edit?usp=sharing

    ReplyDelete
    Replies
    1. Very good but please re-write with more detailed descriptions of exactly what is happening in the call outs. Also please describe and display the output of this programme.

      Delete
  8. https://docs.google.com/a/gillotts.org.uk/document/d/1RuUyolPBgbFQsPH-ZIfeZV05whvulxiKFe0W9cW5bss/edit?usp=sharing

    gamecode

    ReplyDelete
    Replies
    1. Good attempt at coding but please re-write with the following:

      1. Introduction
      2. User requirements
      3. Add comments to the sections of code #........
      4 Re-write comment saying exactly what is happening e.g. This is a variable called " " which achieves the following...
      5 Show output RUN IT AND SHOW OUTPUT

      FIND A WAY TO MAKE REPORT MORE VISIBLE

      Delete
  9. https://docs.google.com/a/gillotts.org.uk/document/d/1i0OKvOi-rRBiNBQwWP1DLiSlYvO1LMx-RZ1P_W-geEE/edit?usp=sharing

    ReplyDelete
    Replies
    1. Good but re-write with the following:

      1. Title
      2. Introduction
      3. User requirements
      4. Add comments to each section of code #...
      5. Add an introduction top the output

      Delete
    2. didnt understand #5

      Delete
  10. Please write the first section for obtaining user input in Python and try to run it. Paste a screen dump of the code and output to a Googlle doc and reply with link.

    ReplyDelete