notebook.community
Edit and run
In [11]: word=input('word:') if word.endswith('ch'): print(word +'es') elif word.endswith('sh'): print(word +'es') elif word.endswith('y'): print('变y为i再加es') else: print(word +'s')
word=input('word:') if word.endswith('ch'): print(word +'es') elif word.endswith('sh'): print(word +'es') elif word.endswith('y'): print('变y为i再加es') else: print(word +'s')
word:aash aashes