>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 th
"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 doe
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
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
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
http://mail.pyth
devayani barve wrote:
> this is what i did for level 2 of python challenge:
>
>
> dict={'a':'c','b':'d','c':'e','d':'f','e':'g','f':'h','g':'i','h':'j','i':'k','j':'l','k':'m','l':'n','m':'o','n':'p','o':'q','p':'r','q':'s','r':'t','s':'u','t':'v','u':'w','v':'x','w':'y','x':'z','y':'a','z':'b','
this is what i did for level 2 of python challenge:
dict={'a':'c','b':'d','c':'e','d':'f','e':'g','f':'h','g':'i','h':'j','i':'k','j':'l','k':'m','l':'n','m':'o','n':'p','o':'q','p':'r','q':'s','r':'t','s':'u','t':'v','u':'w','v':'x','w':'y','x':'z','y':'a','z':'b','.':'.',"'":"'","(":"(",")":")