HOMELv024 10.to_i(2) の結果はどれか。 2026年1月24日 to_i(2)は2進数として整数に変換する hello\n.chomp の結果はどれか。 [1, 2, 3].sample の挙動はどれか。