len() is a thing you do to objects
.sort() is something that lists can do to themselves

Lists can be used to read lines out of files, build list from data, and give our data organizational structure to make manipulate and changing data much easier.

LOOPS! Looping over lists

for name in names:
print name

This is a for loop
for variable name in list name
name is our variable name. It could be anything.
Another Example:

for x in names:
print x

Very machine like, think manufacturing.

for name in names:
print "Hello" + name

THE POWER!
Get ready to geek out about programming.

name = "Zelda"
for x in name:
print x

Looping over strings v. lists

Solidify:

names
for x in names:
if x[0] in "AEIOU":
print x + " starts with a vowel"
your_name = "Tim"
if name in names:
if name[0] in "AEIOU"
print name + " start with a vowel"
else:
print name + " starts with a consonant"

This is the most conceptually difficult thing

Another Example:
Build a list

vowel_names = []
len(vowel_names)
for name in names:
if name [0] in "AEIOU"
vowel_names.append(name)

Run the file using the command you used to start the Python REPL.
Possibly:python same_thing.py
orC:\Python27\python.exe same_thing.py

This is what running a this python file looks like for me:C:\Users\tireilly\Desktop> C:\Python27\python.exe same_thing.py

And there you go!
You’ve created and run your first Python program.

Now if we have time let’s work on some more advanced python!

This is just the beginning! You can change and manipulate this file to do all sorts of wild stuff. This is a very barebones python file. But exemplifies the simplicity and readability of Python. If you’re ready to continue learning check out the resources below!