Olavi Ivask wrote at 02:20 6/30/2004: >after print "yes" press "Enter", and then "Backspace".do not use >spacebar here. >Then it's correct > > >>>if D.has_key("b"): > print "yes" >else: > print "no" > > >Olavi ivask Thanks! (Looks terrible, but it works.) Dick