s=input("pleaseinuptstring"
)print(s.isdigit()
)#用isdigit函數(shù)判斷是否數(shù)字print(s.isalpha()
)#isalpha判斷是否字母print(not(s.isalpha()ors.isdigit())ands.isalnum()
)#isalnum判斷是否數(shù)字和字母的組合
s=input("pleaseinuptstring"
)print(s.isdigit()
)#用isdigit函數(shù)判斷是否數(shù)字print(s.isalpha()
)#isalpha判斷是否字母print(not(s.isalpha()ors.isdigit())ands.isalnum()
)#isalnum判斷是否數(shù)字和字母的組合