Python

In this foundation year we had a taste of what programming would be like in Python. It gave us a little insight into how it would be like next year. We had to create a Banking system for our assignment, which was difficult for myself personally. 

How did you find the whole Python Module? Leave a comment below.

An example of coding in Python can be:

print "2+2"
This would then print "4"

Another example is strings:

word1 = "Hello"
word2 = "This is"
word3 = "Python!"
sentence = word1 + " " + word2 + " " +word3
print sentence

Lastly another example we learnt was variables:

V = 1
print "The value of V is now", v

Example with Python below:

3 comments: