[Tutor] Python Challenge 2

2007-12-21 Thread David Holland
I did this and got this string :- i hope you didnt translate it by hand. thats what computers are for. doing it in by hand is inefficient and that's why this text is so long. using string.maketrans() is recommended. now apply on the url Is that the answer because it does not solve the problem

Re: [Tutor] Python Challenge 2

2007-12-21 Thread Alan Gauld
David Holland [EMAIL PROTECTED] wrote i hope you didnt translate it by hand. thats what computers are for. doing it in by hand is inefficient and that's why this text is so long. using string.maketrans() is recommended. now apply on the url Is that the answer because it does not solve

Re: [Tutor] Python Challenge 2

2007-12-21 Thread Tiger12506
I did this and got this string :- i hope you didnt translate it by hand. thats what computers are for. doing it in by hand is inefficient and that's why this text is so long. using string.maketrans() is recommended. now apply on the url Is that the answer because it does not solve the

Re: [Tutor] python challenge 2

2006-07-18 Thread Luke Paireepinart
devayani barve wrote: this is what i did for level 2 of python challenge:

Re: [Tutor] python challenge 2

2006-07-18 Thread Kent Johnson
devayani barve wrote: this is what i did for level 2 of python challenge: Please don't post verbatim solutions to the challenges, let's leave some challenge in it for those who come after. Kent ___ Tutor maillist - Tutor@python.org

Re: [Tutor] python challenge 2

2006-07-18 Thread Bob Gailer
devayani barve wrote: this is what i did for level 2 of python challenge: Please don't publish challenge solutions. That defeats the purpose of the challenge. That said your program takes a very circuitous route to iterate thru a string. Why not just: dict = ... s = ... for c in s: print