Friday 13 July 2018

Some Python programming fun!

Here are the tasks for this lesson:

1.  Make sure you finished both extension tasks from my slideshow on lesson 4.  If you can't remember how to do it, check through all the slides.
Make sure you copy paste the share link on to the blog post for this lesson (title the post the same as this one).

2.  I have made a very simple Python game.  Have a look at this and play it .....


3.  Your task is to try and make on of your own!  It just uses the Selection programming we did last lesson....

4.  Here is a link to a website that uses an ASCII text generator.  This makes the title like the one on my game.

Type your title into the centre box and the title will appear in the main white box.

Link to ASCII text generator

Copy/paste the new style title from the main box onto your programming centre white section on Python.

At the start of each line type the print command print("
At the end of each line type ")

After the last line you can start your main program.

At the end of the lesson, copy/paste your Python Share link to a new blog post titled the same as this one.

Publish!









Monday 9 July 2018

Python lesson 4 - selection

In this lesson, you are going to program the computer to make decisions (or give a response) based on the answer (input) to a question.  This is a bit like the computer deciding whether to log you into your account, depending on whether your password matches your user name; it will either log you in fine or give an error message that user name and password do not match.

Here is a link to my slideshow to explain further and provide your tasks for the lesson.....

Python Lesson 4 Selection