Is there a way to substring a string in Python, to get a new string from the third character to the end of the string?
(有没有一种方法可以在Python中为字符串加上字符串,以从第三个字符到字符串的末尾获取新的字符串?)
Maybe like myString[2:end]
?
(也许像myString[2:end]
?)
If leaving the second part means 'till the end', and if you leave the first part, does it start from the start?
(如果离开第二部分意味着“直到最后”,而如果离开第一部分,它是否从头开始?)
ask by Joan Venge translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…