[Tutor] joker signs?

djuro dmandini@inet.hr
Sat Jan 4 15:40:01 2003


Hello!

for instance:

x = ['ben','sandy','roger','hillary','john','betty']
a = x.index('ben')
print a
---------
0

How to get indexes of all names which begin with "b"  (like    x.index('b*')
or, find all names that contain "er". Is it possible to do using some joker
letters like in os prompt?

Thank you

Djuro