Re: [Tutor] printing a key not a value

2011-10-25 Thread Joel Goldstick
On Tue, Oct 25, 2011 at 9:45 AM, ADRIAN KELLY wrote: > if i have a dictionary called definitions is there a way of printing the > keys and not the values that go with them? > > thanks so much > > > > Adrian > > ___ > Tutor maillist - Tutor@python.org

Re: [Tutor] printing a key not a value

2011-10-25 Thread Dipo Elegbede
Hope this helps, > Bodsda > Sent from my BlackBerry® wireless device > > -Original Message- > From: ADRIAN KELLY > Sender: tutor-bounces+bodsda=googlemail@python.org > Date: Tue, 25 Oct 2011 13:45:50 > To: > Subject: [Tutor] printing a key not a value &g

Re: [Tutor] printing a key not a value

2011-10-25 Thread bodsda
ct: [Tutor] printing a key not a value ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.o

[Tutor] printing a key not a value

2011-10-25 Thread ADRIAN KELLY
if i have a dictionary called definitions is there a way of printing the keys and not the values that go with them? thanks so much Adrian___ Tutor maillist - Tutor@python.org To unsubscribe or change