Python 3 – First Exercises

No BS: I’ve been using this tutorial:

https://developers.google.com/edu/python

It covers stuff from Python 2.0, so there are minor changes, and Google’s design spec says to use 2 spaces to indent.

 

The BS part:

So I’ve been getting to grips with Python 3.0, and seen some good uses, so far I’ve been dealing with:

  • Strings
  • Lists
  • Numerical operations
    • addition, multiplication, division, modulo, +=
  • User defined functions
  • if and elif functions
  • For loops
  • While loops
  • Dict structures
  • The tab structure as opposed to bracket structures
    • This was a pain getting used to but to be honest, it’s actually not that bad

Some of the methods from strings/lists are still pretty new to me so I’m trying to figure out a neat way to get to try all of them out. I’m using the Google Python tutorial which has been very helpful.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.