1# Python 2
2
3txt = raw_input("Type something to test this out: ")
4print "Is this what you just said?", txt
5
1# Python 3
2
3txt = input("Type something to test this out: ")
4
5# Note that in version 3, the print() function
6# requires the use of parenthesis.
7print("Is this what you just said? ", txt)
8