🌈 搜索
📅  最后修改于: 2022-03-11 14:46:18.393000             🧑  作者: Mango
text = "abc" truncated_text = text[0:2] print(truncated_text) # Output ab