题解 | #名单中出现过的人#
名单中出现过的人
https://www.nowcoder.com/practice/d70f0bbba1bb4683a8789e86c0978f01
name_tuple = ('Tom', 'Tony', 'Allen', 'Cydin', 'Lucy', 'Anna') print(name_tuple) if input() in name_tuple: print('Congratulations!') else: print('What a pity!')