Ruby Examples
This commit is contained in:
10
level6/56.rb
Executable file
10
level6/56.rb
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/ruby
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
=begin
|
||||
문자열이 회문인지 검사
|
||||
=end
|
||||
|
||||
str = "Hello World"
|
||||
|
||||
puts str == str.reverse
|
||||
Reference in New Issue
Block a user