And we're back Minions!
Just thought i'd add into the mix that i am now using the official Python intro guide, just to clarify since we're not using CA anymore so here's the link (https://docs.python.org/2/tutorial/introduction.html).
I've moved onto using the official python terminal to give it a go and no, its not as good as geany but for now i'm just getting a feel for the different ones out there.
The official one is a little boring in its colour scheme, it looks like a cmd window but less colour :)
However, back to business! This time were looking at concatenation, this is essentially adding another set of data to another. In this case, were using squared numbers. We kick off with the first 5 square numbers.
square = [1, 4, 9, 16, 25];
square + [36, 49, 64, 81, 100]
See below for example
At this point we're moving onto the 3.2 point of the document which shows us how to use python to deal with the Fibonacci sequence. Unfortunately at this point the python console was driving me crackers because i couldn't get it to work and i moved back to Geany. Lesson right there folks! if it ain't broke, don't fix it!
Thats all for now minions!
No comments:
Post a Comment