In the last lesson, we looked at simple methods to display text in Python. In this lesson it does not get any harder. I simply want to show you 2 new skills that you may find useful. Escape codes In Displaying text lesson 1, I showed you how to display text that included double more »
Input allows a user to add data to a variable for use later in the programme. This is great if you want to ask the user for anything such as their age or anything else! by default Python always assumes all input data is a string datatype. To change this wrap the input function within more »
Adding interactivity to a website can be very simple. Many websites offer content that can be embedded for free such as vimeo, youtube, Souncloud or google Drive documents. This assessment objective looks at how to create interactive elements. The slideshow shared with my students below has many useful video links to help out.
In Python we can write to a text file by using Python code to open and write the file. Today’s lesson comes with some help from a few WWF stars (my childhood pastime). Opening a file is easy in Python. The open function will open a file or create one if it doesn’t exist in more »
Computational Thinking Puzzles In this puzzle, you need to think computationally to finish each level. Once you get to the more advanced stages, you have to use functions to give less instruction but repeat code. Click here to try Light-Bot 2.0 Click here to try light-bot 1 Click here to try gold collector Click here to try Dock The more »