if you want to remove A's
name = ["Andy", "Aaron", "Ante", "Aiden", "Harvey" "Steve" ]
[i.replace('A','') for i in name]
Output:
['ndy', 'aron', 'nte', 'iden', 'HarveySteve']
if you need names with A's
[i for i in name if i.startswith('A')]
Output:
['Andy', 'Aaron', 'Ante', 'Aiden']
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…