Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Ira Krakow's Python 3 Tutorial Part 3 (Lists)

Loading...

Sign in or sign up now!
1,965
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 8, 2010

In Part 2, we saw different ways that string variables can be defined. In this tutorial, we will see how lists of variables can be defined and used. You're basically creating more than one variable at a time, in a structure called a list. Lists are a very important part of Python. If you want to be able both program in Python and to read Python code written by others, you need to know how lists work. Don't worry, you'll get the hang of it if you practice a bit.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • Again, its is very very usefull! Thanks a lot!

  • @iisthphir

    Hey! I reckon i know what's happened...

    A couple of months on you might be a whizz at python by now! But i think you've probably put 555 and 666 in quotes? this would mean it treats them as it did "cornedbeef" and whatever else. it treats the numbers as strings and pushes them together like text. make sure numbers aren't in quotes :)

    hope this helped!

  • interesting, when i type x[2] + x[3] i get 555666 }:?

    oh well new version or something ;)

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more