kopia lustrzana https://github.com/micropython/micropython
21 wiersze
645 B
Python
21 wiersze
645 B
Python
|
print("".isspace())
|
||
|
print(" \t\n\r\v\f".isspace())
|
||
|
print("a".isspace())
|
||
|
print(" \t\n\r\v\fa".isspace())
|
||
|
print("".isalpha())
|
||
|
print("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".isalpha())
|
||
|
print("0abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".isalpha())
|
||
|
print("this ".isalpha())
|
||
|
print("".isdigit())
|
||
|
print("0123456789".isdigit())
|
||
|
print("0123456789a".isdigit())
|
||
|
print("0123456789 ".isdigit())
|
||
|
print("".isupper())
|
||
|
print("CHEESE-CAKE WITH ... _FROSTING_*99".isupper())
|
||
|
print("aB".isupper())
|
||
|
print("".islower())
|
||
|
print("cheese-cake with ... _frosting_*99".islower())
|
||
|
print("aB".islower())
|
||
|
print("123".islower())
|
||
|
print("123a".islower())
|