不同於其他語言,ruby的變數不需宣告 name = "hello world" puts name #輸出“hello world” #ruby支援萬用字元,所以你變數名稱也可以取中文 姓名 ...
確定! 回上一頁