name = input('輸入英文字母') a=list('edgttgsaogq') if name in a: print(name,'在list a裡面') else: print(name,'不在list a裡面')