Code Club 5/8/2023
The next Paignton Library code club is on Saturday 5th August 2023 10 am to 12:00. We will carry on with with the Code Club projects, hour of code and some more Rocks and diamonds.
Useful Links
Tags
#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,
#Education
Code Club 22/7/2023 Write up
We had three new starters today, so as everyone is interested in Minecraft, I started everyone off with the Hour of Code Minecraft activities. This went really well,. kept everyone engaged with lots of valuable learning taking place.
I have also figured out how to set up Rocks and diamonds so we can skip completed levels and carry on from where people got to previously. I need to do this as the computers reset each time they are turned off, which means that progress data is also lost.
Useful Links
Next Code Club
The next code club is August 5th
Tags
#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,#Education
Code Club 22/7/2023
The next Paignton Library code club is on Saturday 22nd July 2023 10 am to 12:00. We will carry on with with the Code Club projects, hour of code and perhaps hour of code. Probably some more Rocks and diamonds.
Useful Links
Tags
#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,
#Education
Code Club 1/7/2023 writeup
So today we did more of the usual coding. I spent some of the time trying to fix the issue I had with the Pi pico routine I have been working on. Please see earlier post.
This now appears to be fixed (or at least working a lot better than it was) and there should be video and photos up on the
library website and social media pages.
I will get a video made for this and uploaded to peertube and post the new code block in a new post.
Next week is the STEM Group on 8th July 11 to 15:00 at the library.
I have put some of the links from this below as a list.
Useful Links
If you also sign up to the Raspberry Pi foundation, you can track your own progress and collect badges. This is optional, as this presents more ways for data to be collected.
As before if you would like to save work, please sign up for a scratch or Trinket account so you can save project progress and carry on at home or at the next session.
Video
Tags
#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,
#Education
Code Club 1/7/2023
The next Paignton Library code club is on Saturday 1st July 2023 10 am to 12:00. We will carry on with with the Code Club projects, hour of code and perhaps hour of code.
Perhaps some more discussions around Technology, AI, Coding, etc.
I spent some time Friday afternoon setting up the room

I have put some of the links from this below as a list.
Useful Links
If you also sign up to the Raspberry Pi foundation, you can track your own progress and collect badges. This is optional, as this presents more ways for data to be collected.
As before if you would like to save work, please sign up for a scratch or Trinket account so you can save project progress and carry on at home or at the next session.
Video
Tags
#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,
#Education
Code Club 17/6/2023 reminder and update
The next Paignton Library code club is on Saturday 17th June 2023 10 am to 12:00. We will carry on with with the Code Club projects. The write up from last session is here and the write up from Saturdays STEM group event is here.
I spent some time Friday afternoon setting up the room

I have put some of the links from this below as a list.
Useful Links
If you also sign up to the Raspberry Pi foundation, you can track your own progress and collect badges. This is optional, as this presents more ways for data to be collected.
As before if you would like to save work, please sign up for a scratch or Trinket account so you can save project progress and carry on at home or at the next session.
Video
Tags
#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,
#Education
Code Club 17/6/2023
The next Paignton Library code club is on Saturday 17th June 2023 10 am to 12:00. We will carry on with with the Code Club projects. The write up from last session is here and the write up from Saturdays STEM group event is here.
I have put some of the links from this below as a list.
Useful Links
If you also sign up to the Raspberry Pi foundation, you can track your own progress and collect badges. This is optional, as this presents more ways for data to be collected.
As before if you would like to save work, please sign up for a scratch or Trinket account so you can save project progress and carry on at home or at the next session.
Video
Tags
#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,
#Education
New Python worksheets
I am now working on some new Python resources. I uploaded two of the resources mentioned in the previous post, and took some of the code from the TkInter resource (which is still available) and created a resource to look at testing if text from a user is what is being asked for.
As of 22/05/2023, I have :-
- Python Arrays
- Python String Length
- Check User Input
- Python3 Functions 2
- Python3 Functions 1
- Trinket Get Started
- Python Nested Loops2
- Python Nested Loops
These are designed to be used along side each other. As we are also using Trinket at Code Club.
My intention is to create more and use them as a Teaching Assistant or Tutor in a school or elsewhere. I am employed by an agency so if you want someone who can help teach computing in a primary school or have a group of children who want to move up then please get in touch. I can send my CV which will have my employer details on.
I can also help with Scratch, Micro:bit, electronics, Science etc
I will NOT be making these resources generally available.
These are already available
Tags
#CodeClub,#Python.#Programming,
Old python worksheets
A few years ago I created some worksheets to help teach nested loops. They are probably for Python2.x but can be adapted.
These are OLD and are therefore provided 'as is'. If you need help please send me a fediverse message on @[email protected]
Tags
#CodeClub,#Python.#Programming,
Code Club – Python functions 2
So to follow the previous post, we are going to look at passing 2 arguments to a function, adding them together, then displaying the result.
Firstly open a new Python Trinket
Firstly we are going to tell the interpreter to use python3.
#!/usr/bin/env python3 #use python 3
Now we create a function to take two arguments and display the sub of both
def add_numbers(x,z):
#print(x)
#print(z)
add = (int(x) + int(z))
print ('Total = ')
print(add)
Get user input
x = input("First Number") # ask for first number
z = input("Second Number") # ask for second number
Convert to integers
int(x)
int(z)
Call function and pass values to function
add_numbers(x,z)
Tags
#CodeClub,#Python.#Programming,#Functions,#Arguments