Re: [Tutor] Still the Python Challenge - Conclusion

2012-01-05 Thread Joaquim Santos
Hi Robert! Thanks for the heads up on the Style Guide. I'll read out the links you pointed out to me. About the script, result and Python Challenge, I apologize, however... in previous emails bigger pointers were given speaking about using 'maketrans' to solve the challenge. My way was a work ar

Re: [Tutor] Still the Python Challenge - Conclusion

2012-01-05 Thread Robert Sjoblom
On 5 January 2012 19:41, Joaquim Santos wrote: > Hi List! [...] > This is my script (I know that I only verify a small range but it > works for what I want for now...) > > import string > > def decrypt(cypheredText, shiftedCypherNumber): >    ''' > This function will take two arguments. The first

Re: [Tutor] Still the Python Challenge

2012-01-03 Thread Steven D'Aprano
Joaquim Santos wrote: Hi list! After this past week of no PC and no work, I'm again at the Python Challenge Cypher problem. I decided to go with the flow and solve it with maketrans (6 lines of code against the 40 and going I had already...) and it solved it quickly and clean! However, and plea

Re: [Tutor] Still the Python Challenge

2012-01-03 Thread Alan Gauld
On 03/01/12 17:44, Joaquim Santos wrote: - How to correctly populate a list using, for instance, a for loop; I can't tell what you had because the formatting got lost in the email ether... - how to correctly use join to read the said list in a human friendly way... You seem to be do