Posts By: jonny

Python: Username Generator

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 »

Python : Roll the Dice Multiple Times

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 »

Python : Roll the Dice

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 »

Python : Hello World

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 »

Python Programming Without Installing

repl.it

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.  

CoderDojo GCSE Python Session

There will be CoderDojo session on Saturday in Newry Library 11am – 1pm exclusively concentrating on Python for GCSE level so 14-16 years old. I’ll have my son with me who is struggling with that stuff so if anyone else wants to cover some of the stuff important at GCSE level come along. After that… Read more »

August 2017 Session at Newry Library

The next Coder Dojo is scheduled for Saturday 5th August 2017 in Newry Library on Hill Street. We’ll return to Niall Clarke’s in a few weeks and there is still scope for other locations (thanks John Ford) when we get time to sort that out. If I can confirm some other mentors we may increase… Read more »

July Coder Dojo

Thanks to Niall Clarke Oils on the Belfast Road for hosting the July Newry Coder Dojo on Saturday. Thanks also to all the mentors Eddie, Jordan, Conall and Paul Smith with his Raspberry Pi / Sonic Pi Vegetable Drum Kit ! That one can only be explained by seeing it in action. My job for… Read more »

July 2017 Session at Niall Clarke’s 24 Garage

Please note the location of the July session is Niall Clarke’s 24 hour garage on the Belfast Road. Hopefully this gives us the ability to play with App Inventor a little more and use the AI2 Companion App. Please bring along an Android device if you can get your hands on one. Book on Event… Read more »

Coolest Projects

The Coder Dojo Coolest Projects showcase takes place this Saturday 17th June in the RDS in Dublin. I don’t think I can make it but Eddie is going in case anyone else is interested. Tickets available on their website: http://coolestprojects.org/