11 lines
132 B
Ruby
Executable File
11 lines
132 B
Ruby
Executable File
#!/usr/bin/ruby
|
|
# -*- coding: utf-8 -*-
|
|
|
|
=begin
|
|
문자열이 회문인지 검사
|
|
=end
|
|
|
|
str = "Hello World"
|
|
|
|
puts str == str.reverse
|