replace an item in a list based on user input,"all(x.isalpha() for x in ['ab1', 'def'])"