Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print last 3

message = iloveyouchina
#get last x words
#for example x = 3
print(message[-3:]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #print
ADD COMMENT
Topic
Name
8+6 =