Day 0: Hello World

  • Instructions:
    • Write a line of code here that prints the contents of input_string to stdout.
    Excercise
    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    #!/bin/python3
    
    # 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.
    
    Solution
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    
    #!/bin/python3
    
    # 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)