String supprime, remplace, longueur en python
text=input("enter the words:")
length=len(text)
check=text[-3:]
if length>=3:
if check=="ing":
check=check.replace('ing','ly')
take=length-3
print(text[:take]+check)
else:
print(text+'ing')
Zany Zebra