title: Error converting miles to kilometers
body: <p>I'm trying to learn python and am attempting to create a simple formula that converts miles to kilometers and returns some text with the conversion.</p>
  
  <p>Here's what I have:</p>
  
  <pre><code>def mile(x):
      z = x * 1.609344
      print "%.2f" % z
  
  x = float(raw_input("How many miles are you traveling? "))  
  
  z = mile(x)
  
  print "That's about % kilometers." % z
  </code></pre>
  
  <p>Can someone explain why this doesn't work? I could definitely set up the mile function to print a sentence with the conversion, but I didn't want to do that. </p>