• + 0 comments

    Python 2

    # Read a full line of input from stdin and save it to our dynamically typed variable, input_string.
    inputString = raw_input()
    
    # Print a string literal saying "Hello, World." to stdout.
    print 'Hello, World.'
    
    # TODO: Write a line of code here that prints the contents of input_string to stdout.
    print inputString
    

    Python 3

    # Read a full line of input from stdin and save it to our dynamically typed variable, input_string.
    input_string = input()
    
    # Print a string literal saying "Hello, World." to stdout.
    print('Hello, World.')
    
    # TODO: Write a line of code here that prints the contents of input_string to stdout.
    print(input_string)