# <<< for + if >>>
number = 1..20
for i in number
if(i%2 == 0)
puts i
else
puts 0
end
end
# <<< 숫자.chr >>>
a = 65..90
puts 65.chr
for i in a
puts i.chr
end
# <<< 문자 --> 숫자 >>>
str = "this is a pen"
b = 0...str.length
for i in b
str[i].each_byte do |byte|
puts byte
end
end