title: How do I get user input in Apple's Swift language in a command line tool?
body: <p>I am new to Apple programming and I thought I'd try out Swift, but I have no idea how to get user input and store it in a variable. I am looking for the simplest way to do this, something like input() and raw_input() in Python. </p>
  
  <pre><code># Something like this (Python code)
  name = raw_input() # name is a string
  print "Your name is ", name
  number = input() # number is an int or float
  </code></pre>