puts true and false #相当于 (puts true) and false
Use &&/|| for boolean expressions, and/or for control flow. (Rule of thumb: If you have to use outer parentheses, you are using the wrong operators.)
本文共 244 字,大约阅读时间需要 1 分钟。
puts true and false #相当于 (puts true) and false
Use &&/|| for boolean expressions, and/or for control flow. (Rule of thumb: If you have to use outer parentheses, you are using the wrong operators.)
转载于:https://www.cnblogs.com/or2-/p/4446405.html