Day 0: Hello, World.
ARGF.read 可讀取鍵盤輸入
ARGF.read 可讀取鍵盤輸入
# Read a full line of input from stdin and save it to our dynamically typed variable, input_string.
input_string = ARGF.read
# Print a string literal saying “Hello, World.” to stdout.
puts “Hello, World.”
# TODO: Write a line of code here that prints the contents of input_string to stdout.
puts input_string
转载请注明:XAMPP中文组官网 » Day 1 內容規劃 – 懶人寫寫BOT