#!/usr/bin/ruby # -*- coding: utf-8 -*- =begin 문자열 뒤집기 =end str = "Hello World" puts str.reverse