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

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

主站蜘蛛池模板: 虹口区| 信宜市| 七台河市| 尚志市| 宁明县| 白朗县| 泽州县| 莲花县| 罗源县| 宝应县| 广州市| 凤山县| 宜兰市| 长沙市| 富顺县| 兴国县| 会昌县| 曲沃县| 中方县| 宝丰县| 从化市| 金寨县| 鲁山县| 鲁山县| 交城县| 和林格尔县| 洱源县| 宜宾县| 雅安市| 始兴县| 伊川县| 治多县| 广宁县| 连南| 汕尾市| 锡林郭勒盟| 郑州市| 丰台区| 邯郸县| 盐亭县| 辛集市|