Prompting for user input in Python 2

from __future__ import print_function

def main():
    print("We have a question!")
    name = raw_input('Your name: ')
    print('Hello', name, ', how are you?')
    print('Hello ' + name + ', how are you?')



We have a question!
Your name: Foo Bar
Hello Foo Bar , how are you?
Hello Foo Bar, how are you?

What happens if you run this with Python 3 ?


We have a question!
Traceback (most recent call last):
  File "", line 7, in <module>
  File "", line 4, in main
    name = raw_input('Your name: ')
NameError: name 'raw_input' is not defined