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

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

主站蜘蛛池模板: 肇庆市| 温泉县| 新丰县| 平利县| 吴忠市| 固安县| 沁水县| 麦盖提县| 临沧市| 登封市| 武义县| 方山县| 平遥县| 进贤县| 城固县| 鹤山市| 华池县| 星子县| 鲜城| 麻阳| 昌图县| 玛曲县| 新昌县| 留坝县| 托克托县| 石阡县| 武乡县| 封开县| 田林县| 翼城县| 衡阳县| 澄江县| 二连浩特市| 马关县| 黔西| 修文县| 东乌| 广灵县| 扎兰屯市| 金寨县| 利津县|