Using wild character

truelixin at gmail.com truelixin at gmail.com
Thu Sep 6 07:44:20 CEST 2007


i hope this may help you.

countries = ["india","africa","atlanta","artica","nigeria"]
filtered = filter(lambda item: item.startswith('a'), l)




More information about the Python-list mailing list