/*
unicode编码范围:
汉字:[0x4e00,0x9fa5](或十进制[19968,40869])
数字:[0x30,0x39](或十进制[48, 57])
小写字母:[0x61,0x7a](或十进制[97, 122])
大写字母:[0x41,0x5a](或十进制[65, 90])
--根据编码范围来判断
*/
if unicode(‘我‘) between 19968 And 40869 print ‘汉字‘ if unicode(‘A‘) between 97 And 122 or unicode(‘a‘) between 65 And 90 print ‘字母‘
时间: 2024-09-28 00:39:50