We want to end up with a quiz game that asks questions and keeps track of the score Start a new project in Scratch and remove the scratch cat. We would like something to ask the questions so choose a new sprite from the Scratch library. I chose Avery but you can choose anything you… Read more »
Posts By: jonny
For this exercise we will be creating a cool animated logo of your name. An example is below: Scratch allows creating games, animations and stories. Use a Chrome or Chromium web browser and visit Scratch at: https://scratch.mit.edu/ When you first start scratch there will be one ‘Sprite’ (or object) on the stage – Scratchy the… Read more »
Another interesting session with kids exploring Scratch, AppInventor and Java. Thanks once again to all the mentors and The Hub for hosting us. The March dojo is available to book here.
We kicked off 2019 coding sessions in The Hub in Newry – a co-working space with hot-desk facilities on Margaret Street. Suzanne & Paddy made us very welcome and we had kids getting stuck in to Scratch, AppInventor, HTML and Python. We also played around with the Oculus Go:
It has been a while since our last session. Unfortunately at that one I got a parking ticket 🙁 and after lugging around boxes of gear month after month I suppose I got a little fed up. However, we are back to start 2019 with a digital bang. We are hosted on Saturday 5th January… Read more »
The previous exercise used random to choose a random number. In this exercise (also available as a PDF) we choose random words from lists to create custom usernames. This exercise introduces the following concepts: String Manipulation Lists For Loops Type the code below into a new repl.it or use an Python IDE (code editor) such as… Read more »
We would like to expand the code from the previous exercise to allow multiple rolls of the dice without having to re-run the program each time. This exercise introduces the following concepts: Whitespace String Manipulation Functions While Loops If Control Statements To your existing ‘Roll the Dice’ code add the lines below: import random run_prog… Read more »
This short exercise will cover topics relevant to GCSE computing including: Variables Data Types Random Numbers Log in (or register) at https://repl.it Create a ‘New Repl’ Then choose ‘Python 3’ as the language Type the following code into the left pane: import random random_number = random.randint(1,6) print(“The dice rolled: ” + str(random_number)) Then click the… Read more »
This short exercise will cover topics relevant to GCSE computing including: Variables Data Types User Input Log in (or register) at https://repl.it Create a ‘New Repl’ Then choose ‘Python 3’ as the language Type the following code into the left pane: name = input(“What is your name ?”) print(“Hello ” + name) Then click the… Read more »
If you would like to try Python programming without installing Python or an IDE on your own computer you can log in to repl.it, type your code and run it – all from within your web browser.