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

Using pred and succ

The two methods, pred and succ, have a feature caused by the very limited range of the available values. You should not expect the values to be looped. The results of the methods are shown in the comments in the following piece of code:

say True.pred;  # False
say True.succ; # True

say False.pred; # False
say False.succ; # True
主站蜘蛛池模板: 伊宁市| 平原县| 江华| 临沧市| 海晏县| 平果县| 南雄市| 安达市| 玉环县| 杂多县| 呼伦贝尔市| 青阳县| 沙田区| 罗定市| 阿克苏市| 南岸区| 杭锦旗| 什邡市| 资中县| 收藏| 乐安县| 田东县| 长葛市| 兴宁市| 兴和县| 襄垣县| 尤溪县| 宁波市| 宁津县| 绵竹市| 丹棱县| 个旧市| 张家界市| 昂仁县| 巴楚县| 县级市| 铜川市| 大渡口区| 淄博市| 九龙县| 武汉市|