python學習次日 pyhon字符串操做

s='cescesc'html print(s.isupper)#判斷是否是都是大寫字母git print(s.isdigit)#判斷是否位爲數字post print(s.islower)#判斷是否是小寫字母spa number=input('請輸入要產生幾條:')htm print(s.index('d'))#找不到報錯blog print(s.find('d'))找不到報-1ip s.coun
相關文章
相關標籤/搜索