71. 觀察以下python程式碼
【dwvs2011】評論
Python 字串有如陣列的功能,可以利用索引功能來擷取字串此題str1[3:4],[3:4] 要看成[start:end]但是擷取字串是從 start到 end-1喔!也就是取 str1[3:4-1] ==str1[3:3]str1="1234567890"索引 0123456789所以索引3就是4