Hi all,
I want to print two outputs on the same line in window terminal but
don’t know which method is used. Here my script:
print “question 1—”
gets #user will hit enter when he is ready to answer
puts “correct answers is…”
instead of getting output in two lines as
question 1—
correct answer is…
I like to the output on one line as
question 1—correct answer is…
Thanks,
Li