Python Day 0: Hello, World




To complete this challenge, you must save a line of input from stdin to a variable, print Hello, World. on a single line, and finally print the value of your variable on a second line.



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




codesadda.com

Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube