[Beginner question] Code related to typing

Asked 2 years ago, Updated 2 years ago, 30 views

To make a type on Ruby run

How do I write it?

ruby

2022-09-20 17:40

1 Answers

Receiving input is

input = gets.chomp()
puts input

You can do it like that.


2022-09-20 17:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.