python script not working
<p>I have a script I'm working on for a python course however my script does not work and I can not figure out why. Here is what I have: </p>

<pre><code>#!/usr/bin/python

import time

def createDictionary():
  startTime = time.clock()
  dict = {'Dog': 'der Hund', 'Cat': 'die Katze', 'Bird': 'der Vogel'}
  dict[ 'Spider' ] = 'die Spinne'
  key = 'blabla'
  if key in dict:
    print dict[key]
  else:
    print "not vaild"

  endTime = time.clock()

print "Time taken for programe (in seconds): ", endTime - startTime
</code></pre>

<p>Fundamentally I have two problems my dictionary part does not work and neither does the time component. </p>

<p>Any advice on why this is failing would be great. 
Thanks</p>
