title: String can't be coerced into Fixnum (TypeError)
body: <p>I wrote the basic codes below</p>
  
  <pre><code>puts ' Hi there , what is your favorite number ? '
  number = gets.chomp
  puts number + ' is beautiful '
  puts 1 + number.to_i + 'is way better'
  </code></pre>
  
  <p>But when I run it,I get the error "String can't be coerced into Fixnum (TypeError)". How do I correct this error please?</p>