📅  最后修改于: 2022-03-11 14:58:16.447000             🧑  作者: Mango
def getLast(mystring, x):
y=len(mystring) - x #finding index from where the string needs to be printed
for i in range(y,(len(mystring))): # printing from y index to end of string
print(mystring[i],end="")
getLast('WGU College of IT', 13)