How to solve program by using next Ruby?

I want to do program " Print 1 to 10 number" by using next loop.

How can I solve this programs.

Thank you.

What have your tried. Show us your attempt and we will tells you how
well
you did.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs