官术网_书友最值得收藏!

Summary

Variables are one of the most fundamental building blocks of programming and after going through this chapter, you should now have a basic understanding of how to use variables in Ruby. We saw two ways to print data out to the Ruby console to see the output. We also looked at how to get user input so that it can be utilized in a program. Additionally, we analyzed how to clean the data by leveraging the chomp method. Lastly, we understood the concept of variable scope and its use.

In the next chapter, we'll dive into the string data type, which is what we use when working with data that contains characters, words, and sentences

主站蜘蛛池模板: 江西省| 新安县| 新昌县| 忻州市| 沙雅县| 深圳市| 黑龙江省| 大厂| 监利县| 乌海市| 美姑县| 同江市| 甘洛县| 东乌| 武穴市| 丹东市| 资中县| 新营市| 赣榆县| 安化县| 乌审旗| 文登市| 正安县| 巫山县| 南皮县| 镇巴县| 连城县| 磐安县| 安图县| 高安市| 株洲县| 鄄城县| 临朐县| 松溪县| 汽车| 察雅县| 邵东县| 页游| 博爱县| 阳曲县| 广州市|