笔记
print('123'.isdigit())
print('一二三'.isdigit())
print('0b1010'.isdigit())
print('Ⅲ'.isdigit())
print('-'*20)
print('123'.isnumeric())
print('一二三'.isnumeric())
print('0b1010'.isnumeric())
print('Ⅲ'.isnumeric())
print('壹贰叁'.isnumeric())
print('-'*20)
print('hello你好'.isalpha())
print('hello你好123'.isalpha())
print('hello你好一二三'.isalpha())
print('hello你好Ⅲ'.isalpha())
print('hello你好壹贰叁'.isalpha())
print('-'*20)
print('hello你好'.isalnum())
print('hello你好123'.isalnum())
print('hello你好一二三'.isalnum())
print('hello你好Ⅲ'.isalnum())
print('hello你好壹贰叁'.isalnum())
print('-'*20)
print('HelloWorld'.islower())
print('helloworld'.islower())
print('hello你好'.islower())
print('-'*20)
print('HelloWorld'.isupper())
print('HELLOWORLD'.isupper())
print('HELLO你好'.isupper())
print('-'*20)
print('Hello'.istitle())
print('HelloWorld'.istitle())
print('Helloworld'.istitle())
print('Hello World'.istitle())
print('Hello world'.istitle())
print('-'*20)
print('\t'.isspace())
print(' '.isspace())
print('\n'.isspace())