write a python program to add 'ing' at the end of a given string
#vars################
ing = "ing"
ly = "ly"
sample_str = "abc"
#vars################
find_ing = sample_str[-3:] #find the last 3 letters of a string
if len(sample_str) < 3: #if it's smaller than 3 chars'
print("string is too small") #error message
exit()
elif find_ing == "ing": #if it ends with ing
sample_str = sample_str + "ly" #add ing
print(sample_str)
else: #other situations (doesnt end with ing)
sample_str = sample_str + "ing" #add ing
print(sample_str)
#note: this DID take me a while and if you know how everything works, you can change it as much as you want, enjoy!