Re: [Tutor] Style help: long strings with formatting

2008-07-31 Thread Ricardo Aráoz
Alan Gauld wrote: W W [EMAIL PROTECTED] wrote output = At an average weekly savings of $%.02f, your monthly savings will be $%.02f. \n Your annual savings will be $%.02f. % (diff, monthly_savings, annual_savings) print output. As you can see, it's very much longer than the 72 characters

[Tutor] Style help: long strings with formatting

2008-07-29 Thread W W
Hi, I've been dinking around, making a program that will find out how different factors affect what you *really* save on gas, and at the end I have it output some information, but I'm not sure what the right style for formatting is. output = At an average weekly savings of $%.02f, your monthly

Re: [Tutor] Style help: long strings with formatting

2008-07-29 Thread Alan Gauld
W W [EMAIL PROTECTED] wrote output = At an average weekly savings of $%.02f, your monthly savings will be $%.02f. \n Your annual savings will be $%.02f. % (diff, monthly_savings, annual_savings) print output. As you can see, it's very much longer than the 72 characters suggested in the