HackerRank【30 Days of Code——day0】
Day 0: Hello, World.
Task
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.

# 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)

浙公网安备 33010602011771号