📜  python print last 3 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:03.354000             🧑  作者: Mango
代码示例1
message = iloveyouchina
#get last x words
#for example x = 3
print(message[-3:]