Week 22: On a role with Python

This week, we are at it again with Python. The young women have really taken to the programming language and we (the team), are sure that it has something to do with the fact that we had taken our time with the Pseudo code and that there are very many similarities between this and Python. Initially we weren’t sure it was going to be well received, but as each week goes by, the ladies are completing homework on Python and challenging themselves further. This is what Ruby had to say about the session.

Hello everybody, it’s Ruby again. I hope you are all having a lovely week so far. We had a visitor, a careers advisor from Activate Learning to come and see what Go Girl does. We did our usual check-in before we went through the IF and IF-ELSE exercises that we did for homework.
Afterwards, we learnt about arrays in Python. An array is a list of values with the same data type. Each value in an array is represented by an index number. The first value in an array is always represented by the index [0].

We did two exercises. The first exercise was to make an array called names to store a list of 5 names and print out each name.The second exercise was to make another array called numbers to store a list of 7 integers of our choice. We printed the third item in our arrays and the second to the last item in our arrays.
Next, we used the .append, .pop, .insert and .remove commands. We were given a challenge to use the sort, ascending and descending commands.
In this session, we also learnt about loops. A loop is a sequence of instructions that is continually repeated until it reaches a certain condition. For example:for x in range(0, 5):print(‘hello’)


In the second half of the session we worked our own individual projects before we received a letter about the Go Girl graduation ceremony happening on the 19th June. I’m looking forward to the next session and I’ll see you on another blog post!’

This entry was posted in Creative coding sessions 18, Uncategorized. Bookmark the permalink.