how to get the last three elements of a list in python code example
Example: python print last 3
message = iloveyouchina
#get last x words
#for example x = 3
print(message[-3:]
message = iloveyouchina
#get last x words
#for example x = 3
print(message[-3:]