Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Steven D'Aprano
On Wed, 30 Mar 2011 20:03:09 -0700, Joseph Sanoyo wrote: print How old are you?, age = raw_input() print How tall are you?, height = raw_input() print How much do you weigh?, weight = raw_input() print So, you're %r old, %r tall and %r heavy. % ( age, height, weight) Note: Notice that we

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread eryksun ()
On Wednesday, March 30, 2011 11:03:09 PM UTC-4, JosephS wrote: print How old are you?, age = raw_input() print How tall are you?, height = raw_input() print How much do you weigh?, weight = raw_input() print So, you're %r old, %r tall and %r heavy. % ( age, height, weight) Note: Notice that

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Chris Angelico
On Fri, Apr 1, 2011 at 3:12 AM, eryksun () eryk...@gmail.com wrote: There appears to be a formatting error here. So remind me again why Python likes whitespace to be significant? /troll :) Chris Angelico PS. Yes, I know remind me again is redundant. You have to make mistakes when you troll,

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Dan Stromberg
On Thu, Mar 31, 2011 at 9:18 AM, Chris Angelico ros...@gmail.com wrote: On Fri, Apr 1, 2011 at 3:12 AM, eryksun () eryk...@gmail.com wrote: There appears to be a formatting error here. So remind me again why Python likes whitespace to be significant? /troll

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Chris Angelico
On Fri, Apr 1, 2011 at 4:54 AM, Dan Stromberg drsali...@gmail.com wrote: http://stromberg.dnsalias.org/~strombrg/significant-whitespace.html I was trolling, I know the reasons behind it. Anyway, most people don't share code by email! (Actually, since you seem to be the author of that page -

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Dan Stromberg
On Thu, Mar 31, 2011 at 1:35 PM, Chris Angelico ros...@gmail.com wrote: On Fri, Apr 1, 2011 at 4:54 AM, Dan Stromberg drsali...@gmail.com wrote: http://stromberg.dnsalias.org/~strombrg/significant-whitespace.html I was trolling, I know the reasons behind it. Anyway, most people don't

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread eryksun ()
On Thursday, March 31, 2011 4:35:42 PM UTC-4, Chris Angelico wrote: I was trolling, I know the reasons behind it. Anyway, most people don't share code by email! (Actually, since you seem to be the author of that page - could you address that particular point? I think it's probably as big an

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread geremy condra
On Thu, Mar 31, 2011 at 2:43 PM, eryksun () eryk...@gmail.com wrote: On Thursday, March 31, 2011 4:35:42 PM UTC-4, Chris Angelico wrote: I was trolling, I know the reasons behind it. Anyway, most people don't share code by email! (Actually, since you seem to be the author of that page - could

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread Chris Angelico
On Fri, Apr 1, 2011 at 8:57 AM, geremy condra debat...@gmail.com wrote: I know it's tongue-in-cheek, but please, please, please don't do this. It would be more secure to base64 it and then rot13 the output. Chris Angelico /me is feeling evil today === Begin Base-Rotten 64-13 ===

Re: Learn Python the Hardway exercise 11 question 4

2011-03-31 Thread John Bokma
Chris Angelico ros...@gmail.com writes: On Fri, Apr 1, 2011 at 8:57 AM, geremy condra debat...@gmail.com wrote: I know it's tongue-in-cheek, but please, please, please don't do this. It would be more secure to base64 it and then rot13 the output. Rot-13 twice, to make it even more secure ;-)

Learn Python the Hardway exercise 11 question 4

2011-03-30 Thread Joseph Sanoyo
print How old are you?, age = raw_input() print How tall are you?, height = raw_input() print How much do you weigh?, weight = raw_input() print So, you're %r old, %r tall and %r heavy. % ( age, height, weight) Note: Notice that we put a , (comma) at the end of each print line. This is so that