Learn the Basics of Ruby! Interactive Program for Anyone New to Ruby :)
posted to Tutorials by 21Miya

I am kind of confused at the "Let's use the .to_s method to change it. You can put that right in my code, but to make it shorter, why don't you just add set sumVar to sumVar as a string? It's used in the same way as the .to_i method, only vise versa." part. i tried any possible outcome. but other than that this tutorial was great!