a = "aa123"b = "11111"c = "aaaaa"print(a.isalnum())print(b.isalnum())print(b.isalnum())輸出/python/ex7# python d6.py TrueTrueTrue應(yīng)該是TrueFalseFalse才對(duì)吧,是不是python版本不行?python 版本號(hào)Python 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 02:55:11)
判斷為什么都是True?
阿波羅的戰(zhàn)車
2023-03-18 17:13:28